Hello Guest

lwjgl texture stack overflow

  • 1 Replies
  • 7080 Views
lwjgl texture stack overflow
« on: February 23, 2005, 23:46:38 »
I'm running an integrated intel 810e video card on Windows 2000. In testing lwjgl with jme i get stack overflow errors. I got one message that reads this card has 1 texture unit. Anybody know any work arounds for this issue?

lwjgl texture stack overflow
« Reply #1 on: February 24, 2005, 09:06:25 »
If you mean OpenGL texture matrix stack, then that'd most likely be a bug in jme. OpenGL states that the texture matrix stack is at least 2 deep (unlike modelview, which has to be at least 32). If jme is trying to use more than 2 then it'll error.

Or it could be broken drivers that only provide a 1 deep stack. You can use glGetInteger(GL_TEXTURE_STACK_DEPTH) to find out how deep it is.