R
rmco2003
Guest
If I change the size of the splash screen, Q-Gears resizes the texture to fit the screen, however if I use a bitmap that's 640x480 it spits out in the log that the image's dimensions are not a power of 2. OpenGL requires texture width and height to be a power of 2, but if I disable the error checking code that stops you loading textures that do not have a size that's a power of two, then it still works, albeit extremely slowley. Does anyone know how you I still manage to get away with this without it crashing? I'm not that familiar with OpenGL personally, but I got my information about the texture sizes here: http://osdl.sourceforge.net/OSDL/OS...mentation/rendering/SDL-openGL.html#toTexture it seems quite relevant, considering you're using SDL.