From: Brian P. <br...@tu...> - 2002-03-13 22:46:55
|
Kai Schutte wrote: > > Hi, > > GRID_OBJ is undefined. below is a fix that might do it: > > > GLuint GRID_OBJ; > [...] > > grid = 0; > > GRID_OBJ = glGenLists(1); > > > glNewList(GRID_OBJ, GL_COMPILE); > [...] > > glIndexi(WHITE); > > glEndList(); > > } > > > > Thank you for your time, > pleasure :) I doubt that's the problem. You can pass any GLuint to glNewList(), it doesn't have to be a value returned by glGenLists(). It's really just a key into a hash table. -Brian |