X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ftoast.c;h=e2ea6024120ad7ec6e773c7cafa5c67437106d9c;hp=7aa8fb831ac6eb28a0f2ecd0b9815885d2fdcb60;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hpb=ccb7f4903325f92555a9722bba74b58346654ba0 diff --git a/hacks/glx/toast.c b/hacks/glx/toast.c index 7aa8fb83..e2ea6024 100644 --- a/hacks/glx/toast.c +++ b/hacks/glx/toast.c @@ -1,5 +1,5 @@ #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, @@ -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 }; -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;