NoLifeDev / OldNoLifeStoryTwo

The second old bloated history of NoLifeStory
17 stars 16 forks source link

NPOT Textures #14

Closed retep998 closed 12 years ago

retep998 commented 13 years ago

To quote the opengl reference pages "Non-power-of-two textures are supported if the GL version is 2.0 or greater, or if the implementation exports the GL_ARB_texture_non_power_of_two extension." This means anyone with GL less than 2.0 can't use NLS. The fix will involve software resizing of all textures to POT dimensions and then modifying sprite drawing to deal with the increase in size and weird texture dimensions.

ghost commented 13 years ago

Go Peter! You can do it!

retep998 commented 12 years ago

NPOT textures should theoretically work now on all platforms and versions of GL. Just needs to be tested.