X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Ftoast2.c;h=1f38415b199189230b3e49f5ce68720652a2ea6e;hb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;hp=a0d5df65dd9615f216eb9364ee44f9179a9dd72d;hpb=40eacb5812ef7c0e3374fb139afbb4f5bc8bbfb5;p=xscreensaver diff --git a/hacks/glx/toast2.c b/hacks/glx/toast2.c index a0d5df65..1f38415b 100644 --- a/hacks/glx/toast2.c +++ b/hacks/glx/toast2.c @@ -1,5 +1,5 @@ #include "gllist.h" -static float data[]={ +static const float data[]={ -0.999962,0.008668,0,-0.394142,0.122068,0.047937, -0.934347,0.356365,0,-0.448134,0.061584,-0.047937, -0.934347,0.356365,0,-0.448134,0.061584,0.047937, @@ -205,5 +205,5 @@ static float data[]={ -0.934347,0.356365,0,-0.448134,0.061584,0.047937, -0.934347,0.356365,0,-0.448134,0.061584,-0.047937 }; -static struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,204,data,NULL}; -struct gllist *toast2=&frame; +static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,204,data,NULL}; +const struct gllist *toast2=&frame;