View Full Version : Opengl Display List

03-10-2004, 01:02 AM
i have a set of texture(eg a map) which is loaded to a display list. But after calling the display list, part of the texture is missing. But if i just load the texture without implementing display list, it came out fine. Has anyone encounter this before?

03-10-2004, 01:19 AM
I'd recommend to not use glTexImage calls inside display lists. This is old OpenGL 1.0 style for texture objects.
Use texture objects instead (functions glGenTextures(),glBindTexture(), glDeleteTextures() and switch the textures with glBindTexture inside the display lists.

03-11-2004, 03:29 PM
Okie..will try it out. Thanks!