X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fbuildlwo.h;h=89c93e342c4daf044c0b5863b79303a2970d8764;hp=fd9f027efd9e74e8149a818275f7ede40284083b;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hpb=ccb7f4903325f92555a9722bba74b58346654ba0 diff --git a/hacks/glx/buildlwo.h b/hacks/glx/buildlwo.h index fd9f027e..89c93e34 100644 --- a/hacks/glx/buildlwo.h +++ b/hacks/glx/buildlwo.h @@ -9,15 +9,23 @@ #ifndef __BUILD_LWO_H__ #define __BUILD_LWO_H__ +#ifdef STANDALONE +# ifdef HAVE_COCOA +# include +# else +# include +# endif +#endif + struct lwo { - int num_pnts; - GLfloat *pnts; - GLfloat *normals; - unsigned short int *pols; - GLfloat *smoothnormals; + int num_pnts; + const GLfloat *pnts; + const GLfloat *normals; + const unsigned short int *pols; + const GLfloat *smoothnormals; }; -GLuint BuildLWO(int wireframe, struct lwo *object); +GLuint BuildLWO(int wireframe, const struct lwo *object); #endif