Screwed up textures in OpenGL apps