X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Ftoaster_handle.c;h=89d30122feb7b82ba0196e980c7a62f41d0015ba;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hp=7e13b02fe8253d4c3a415789d9a209227fd57334;hpb=40eacb5812ef7c0e3374fb139afbb4f5bc8bbfb5;p=xscreensaver diff --git a/hacks/glx/toaster_handle.c b/hacks/glx/toaster_handle.c index 7e13b02f..89d30122 100644 --- a/hacks/glx/toaster_handle.c +++ b/hacks/glx/toaster_handle.c @@ -1,5 +1,5 @@ #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, @@ -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 }; -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;