LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: imagenesis on November 29, 2008, 11:18:57

Title: Does this OpenGL implementation require 2^n size images?
Post by: imagenesis on November 29, 2008, 11:18:57
^^ Just started reading about OpenGL and that's(/maybe was at some point) and issue... So what's up with that?
Title: Re: Does this OpenGL implementation require 2^n size images?
Post by: princec on November 29, 2008, 13:43:11
By default all OpenGL implementations require 2^N sized images (not necessarily square though). There is an extension you can check for though which allows for arbitrary sized textures - ARB_texture_non_power_of_two.

Cas :)
Title: Re: Does this OpenGL implementation require 2^n size images?
Post by: elias4444 on November 29, 2008, 18:01:07
Just a word of caution: be careful with that extension. I've had some drivers (Intel!!!!!!) come up saying that they support it when they actually don't.