[SDL] SDL/OpenGL and texture mapping.

paul at theV.net paul at theV.net
Tue Sep 10 22:18:00 PDT 2002


On Tue, Sep 10, 2002 at 07:04:54PM +0200, Matthias wrote:

> Then I found somewhere the solution to create a new surf with alpha
> intended to use GL_RGBA always. Next, SDL loads images exact the other
> way, they would appear as texture rotated 180 degrees so you have to
> rotate them 180°.

hmm, I wonder if it is SDL has rotated the texture or you didn't set
your texture coordinates as OpenGL would like to ;-)

Regards,
.paul.




More information about the SDL mailing list