projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver]
/
hacks
/
glx
/
buildlwo.c
diff --git
a/hacks/glx/buildlwo.c
b/hacks/glx/buildlwo.c
index 1aa86edaaf2cb719e0e8ce80b2de24b98003de58..ea88f999e55ef50a4357ba17fd9662fe6565de55 100644
(file)
--- 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";
static const char sccsid[] = "@(#)buildlwo.c 4.02 97/04/20 xlockmore";
-
#endif
/*-
#endif
/*-
@@
-23,19
+22,15
@@
static const char sccsid[] = "@(#)buildlwo.c 4.02 97/04/20 xlockmore";
#ifdef USE_GL
#ifdef USE_GL
-#ifdef STANDALONE
-#include <GL/glx.h>
-#endif
-#include <GL/gl.h>
-#include <GL/glu.h>
#include "buildlwo.h"
GLuint
#include "buildlwo.h"
GLuint
-BuildLWO(int wireframe, struct lwo *object)
+BuildLWO(int wireframe,
const
struct lwo *object)
{
GLuint dl_num;
{
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);
int p, num_pnts = 0;
dl_num = glGenLists(1);