X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Ftoaster_slots.c;h=3def0ffb3c333aec601d658707c28b6646a8984a;hb=3f1091236d800c43a3124c44c7da54e53f205b13;hp=73758750f126eed0f7a4a840a572fc018d71bf86;hpb=40eacb5812ef7c0e3374fb139afbb4f5bc8bbfb5;p=xscreensaver diff --git a/hacks/glx/toaster_slots.c b/hacks/glx/toaster_slots.c index 73758750..3def0ffb 100644 --- a/hacks/glx/toaster_slots.c +++ b/hacks/glx/toaster_slots.c @@ -1,5 +1,5 @@ #include "gllist.h" -static float data[]={ +static const float data[]={ 0.998257,-0.059011,0,-0.18331,-0.276766,0.209005, 0.998257,-0.059011,0,-0.196507,-0.5,0.123502, 0.998257,-0.059011,0,-0.196507,-0.5,-0.235113, @@ -97,5 +97,5 @@ static float data[]={ 0,-1,-0,0.058641,0.5,-0.235113, 0,-1,-0,0.196507,0.5,-0.235113 }; -static struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,96,data,NULL}; -struct gllist *toaster_slots=&frame; +static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,96,data,NULL}; +const struct gllist *toaster_slots=&frame;