Opengl Display List

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?

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.

Okie…will try it out. Thanks!