LWJGL Forum

Programming => OpenGL => Topic started by: lainmaster on January 22, 2010, 06:44:30

Title: [SOLVED] Max texture size?
Post by: lainmaster on January 22, 2010, 06:44:30
How can I tell what's the max texture size?

Nevermind

IntBuffer o = IntBuffer.allocate(16);
GL11.glGetInteger(GL11.GL_MAX_TEXTURE_SIZE, o);
System.err.println("GL_MAX_TEXTURE_SIZE: " + o.get());