From: Franco B. <fra...@gm...> - 2000-10-29 05:24:27
|
Am Son, 29 Okt 2000 schrieb camilo ramos: >Hello all, <--snip--> >The troublesome part is > const enum GLenum gl_lights[] = {GL_LIGHT0,GL_LIGHT1,GL_LIGHT2,GL_LIGHT3}; That looks strange to me. what should gl_lights be ? a constant array of GLenum values ? then I'd try: const GLenum gl_lights[] = {GL_LIGHT0,GL_LIGHT1,GL_LIGHT2,GL_LIGHT3}; > > while GLenum is defined as: > >typedef unsigned int GLenum; > >I compiled this on linux gcc-2.8.0. > >What am I missing? > >Any help thanked in advance. > >Best regards, > camilo mailto:cr...@co... Ciao, Franco |