X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fbuildlwo.c;h=ea88f999e55ef50a4357ba17fd9662fe6565de55;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hp=1aa86edaaf2cb719e0e8ce80b2de24b98003de58;hpb=df7adbee81405e2849728a24b498ad2117784b1f;p=xscreensaver diff --git a/hacks/glx/buildlwo.c b/hacks/glx/buildlwo.c index 1aa86eda..ea88f999 100644 --- a/hacks/glx/buildlwo.c +++ b/hacks/glx/buildlwo.c @@ -1,7 +1,6 @@ -#if !defined( lint ) && !defined( SABER ) +#if 0 static const char sccsid[] = "@(#)buildlwo.c 4.02 97/04/20 xlockmore"; - #endif /*- @@ -23,19 +22,15 @@ static const char sccsid[] = "@(#)buildlwo.c 4.02 97/04/20 xlockmore"; #ifdef USE_GL -#ifdef STANDALONE -#include -#endif -#include -#include #include "buildlwo.h" GLuint -BuildLWO(int wireframe, struct lwo *object) +BuildLWO(int wireframe, const struct lwo *object) { GLuint dl_num; - GLfloat *pnts, *normals, three[3], *grab; - unsigned short int *pols; + const GLfloat *pnts, *normals, *grab; + const unsigned short int *pols; + GLfloat three[3]; int p, num_pnts = 0; dl_num = glGenLists(1);