LWJGL Forum

Programming => OpenGL => Topic started by: @ on October 05, 2013, 14:50:45

Title: Get max texture size at runtime
Post by: @ on October 05, 2013, 14:50:45
Quick question: is that possible? has opengl some function to get the maximum texture size supported?
Title: Re: Get max texture size at runtime
Post by: broumbroum on October 05, 2013, 20:45:41
quick answer : yes it does !
glgetinteger(gl_max_texture_size);
Title: Re: Get max texture size at runtime
Post by: @ on October 06, 2013, 15:39:01
Quote from: broumbroum on October 05, 2013, 20:45:41
quick answer : yes it does !
glgetinteger(gl_max_texture_size);

Thanks!!