X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Ftoaster_handle2.c;h=ce9ab9fbed98fc033d5db0231b0520d64e8176af;hb=c141c2b05e374757b6499d12bb8a6d4d943b1529;hp=8aa1fca96f8a83b525da6c84e69744a4c056bef0;hpb=40eacb5812ef7c0e3374fb139afbb4f5bc8bbfb5;p=xscreensaver diff --git a/hacks/glx/toaster_handle2.c b/hacks/glx/toaster_handle2.c index 8aa1fca9..ce9ab9fb 100644 --- a/hacks/glx/toaster_handle2.c +++ b/hacks/glx/toaster_handle2.c @@ -1,5 +1,5 @@ #include "gllist.h" -static float data[]={ +static const float data[]={ 0,-0.027094,0.999633,0.038934,-0.294903,-0.5, 0,-0.027094,0.999633,-0.038934,0.321555,-0.483291, 0,-0.027094,0.999633,-0.038934,-0.294903,-0.5, @@ -31,5 +31,5 @@ static float data[]={ 0,-0.999633,-0.027095,0.038934,0.294903,0.5, 0,-0.999633,-0.027095,-0.038934,0.294903,0.5 }; -static struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,30,data,NULL}; -struct gllist *toaster_handle2=&frame; +static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,30,data,NULL}; +const struct gllist *toaster_handle2=&frame;