lwjgl texture stack overflow

Started by Errata, February 23, 2005, 23:46:38

Previous topic - Next topic

Errata

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?

Orangy Tang

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.