Is there any way to ignore libgdx images Limitation? (images must be power of two)
问题 In libgdx framework we can only use images power of two ( 64x256 , 128x32 , etc) Because OpenGL requires it. Is there any good way to "pass" this limitation? For example: Use images 800x480 . 回答1: Do set Texture.setEnforcePotImages(false); and you do not have the limitation anymore. So it's not true that you just can use pictures with the size power of two. It's just a "can have" not a "must have". Regards 回答2: You can use non pot textures, e.g. by using opengl es2.0. But it is good practice