hey,
i just realized that there seems to be an upper limit of textures which can be loaded and that limit is different on different graphics cards.
it ranges from 4 to 36 on the computers where i tested my game. since i never really had the time (or the brains) to dig deeper into lwjgl/opengl it’s very likely that i’m doing things not the right way. so i wonder if you opengl gurus can give me a hint on that. do i really have to live with that limitation or is it likely that there’s some bug in my code? if this is a hard limit i wonder how others can create such amazing games with tons of images on screen at the same time…
here’s my exception that i get when i try to load too many textures:
org.lwjgl.opengl.OpenGLException: Invalid value (1281)
at org.lwjgl.opengl.Util.checkGLError(Util.java:56)
at org.lwjgl.opengl.Display.swapBuffers(Display.java:555)
at org.lwjgl.opengl.Display.update(Display.java:571)
...
it disappears when i reduce the number.
i will post my code later (if needed) but first, i’d like to know you guy’s opinions.
thanks a lot for your help!