Login  Register

Using OpenGl extensions in JOGL.

Posted by anandcta123 on Feb 04, 2014; 9:58am
URL: https://forum.jogamp.org/Using-OpenGl-extensions-in-JOGL-tp4031433.html

Hi,

I am rendering non-power-of-two textures using glTextureImage2D with GL_TEXTURE_2D. But I understood that textures will operate as power of two textures. So I learnt about GL_ARB_texture_non_power_of_two, but if I try to use this with OpenGL, I am not found this extension macro with the GL2 class. If I call isExtensionAvailable. it returns true. Please tell me how I can use this extension with JOGL.

If not possible. Give suggestions to use Non-power-of-two textures.

Thanks and Regards,
Anand