edit: Solved It! 
I got some weird stuff going on when trying to use multitextures.
For example this:
1 2 3 4 5 6 7 8 9 10 11 12
| String extensions; extensions = GL11.glGetString(GL11.GL_EXTENSIONS); if( extensions.indexOf("GL_ARB_multitexture") != -1 && extensions.indexOf("GL_EXT_texture_env_combine") != -1 ) { IntBuffer temp = ByteBuffer.allocateDirect(64).order(ByteOrder.nativeOrder()).asIntBuffer(); GL11.glGetInteger(GL13.GL_MAX_TEXTURE_UNITS, temp); temp.get(maxTexelUnits); for(int i=0; i<maxTexelUnits.length; i++) { System.out.print(maxTexelUnits[i] +", "); } return true; } |
Outputs, 16 zeros :/
Doesn't my graphics card support multitexturing?? It's a Sapphire X800GTO2.