Original Post
I would like to know if the texture is resident in memory.
GLint* isResident;
glBindTexture(GL_TEXTURE_2D, textures[1].texID);
//If I call the next function the program crash,why???;
glGetTexParameteriv(GL_TEXTURE_2D ,
GL_TEXTURE_RESIDENT,isResident);
//Here I would like to find the value of isResident
if(isResident== some code...
glCallList(object[1]);
Can you help me?
Thanks