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
/
toaster_handle.c
diff --git
a/hacks/glx/toaster_handle.c
b/hacks/glx/toaster_handle.c
index 7e13b02fe8253d4c3a415789d9a209227fd57334..89d30122feb7b82ba0196e980c7a62f41d0015ba 100644
(file)
--- a/
hacks/glx/toaster_handle.c
+++ b/
hacks/glx/toaster_handle.c
@@
-1,5
+1,5
@@
#include "gllist.h"
#include "gllist.h"
-static float data[]={
+static
const
float data[]={
0,0,1,0.5,-0.094169,0.035224,
0,0,1,-0.356403,0.038624,0.035224,
0,0,1,-0.5,-0.094169,0.035224,
0,0,1,0.5,-0.094169,0.035224,
0,0,1,-0.356403,0.038624,0.035224,
0,0,1,-0.5,-0.094169,0.035224,
@@
-55,5
+55,5
@@
static float data[]={
-0.180414,0.983591,0,-0.356403,0.038624,0.035224,
-0.180414,0.983591,0,-0.210084,0.094169,0.035224
};
-0.180414,0.983591,0,-0.356403,0.038624,0.035224,
-0.180414,0.983591,0,-0.210084,0.094169,0.035224
};
-static struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,54,data,NULL};
-struct gllist *toaster_handle=&frame;
+static
const
struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,54,data,NULL};
+
const
struct gllist *toaster_handle=&frame;