I\'m writing a 2D game using SDL and OpenGL in the D programming language. At the moment it simply tries to render a texture-mapped quad to the screen. Problem is, the whole
Just a vague theory here: have you tried drawing the vertices counter-clockwise instead of clockwise?
glTexCoord2i(0, 0); glVertex2i(0, 0); glTexCoord2i(0, 1); glVertex2i(0, 64); glTexCoord2i(1, 1); glVertex2i(64, 64); glTexCoord2i(1, 0); glVertex2i(64, 0);