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
/
toast.c
diff --git
a/hacks/glx/toast.c
b/hacks/glx/toast.c
index 7aa8fb831ac6eb28a0f2ecd0b9815885d2fdcb60..e2ea6024120ad7ec6e773c7cafa5c67437106d9c 100644
(file)
--- a/
hacks/glx/toast.c
+++ b/
hacks/glx/toast.c
@@
-1,5
+1,5
@@
#include "gllist.h"
#include "gllist.h"
-static float data[]={
+static
const
float data[]={
0,0,0,0.391859,-0.5,0.047937,
-0.767086,-0.641544,0,-0.3866,-0.5,-0.047937,
0.794299,-0.607527,0,0.391859,-0.5,-0.047937,
0,0,0,0.391859,-0.5,0.047937,
-0.767086,-0.641544,0,-0.3866,-0.5,-0.047937,
0.794299,-0.607527,0,0.391859,-0.5,-0.047937,
@@
-181,5
+181,5
@@
static float data[]={
0,0,1,0.384905,0.122068,0.047937,
0,0,1,0.448134,0.184705,0.047937
};
0,0,1,0.384905,0.122068,0.047937,
0,0,1,0.448134,0.184705,0.047937
};
-static struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,180,data,NULL};
-struct gllist *toast=&frame;
+static
const
struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,180,data,NULL};
+
const
struct gllist *toast=&frame;