http://www.jwz.org/xscreensaver/xscreensaver-5.11.tar.gz
[xscreensaver] / hacks / glx / circuit.c
index b7a0c256c9734b3c51a1e9bb36b238aa83324ab1..1c2e1a7cc96b9c53d38f10273fe684265e9310b9 100644 (file)
@@ -1859,7 +1859,7 @@ static void makebandlist(Circuit *ci)
   GLfloat shine = 40;
 
    for (i = 0 ; i < 12 ; i++) {
-     ci->band_list[i] = glGenLists(i);
+     ci->band_list[i] = glGenLists(1);
      glNewList(ci->band_list[i], GL_COMPILE);
      col[0] = colorcodes[i][0];
      col[1] = colorcodes[i][1];