Blitting using SDL

Started by
0 comments, last by enygmyx 20 years, 3 months ago
hi ppl, i was writing an AVI player (for playing AVI in cutscenes etc) ...... i have done alomost all the basic stuff .... now what i do is i read the bitmap(BITMAPHEADERINFO thingy) data and blit it on my screen (SDL Surface) .... but the problem i am facing is that the video is playing upside down ..... i dunno wat is the problem ..... but i think that i am not using SDL_BlitSurface properly ..... has ne1 else faced this problem ..... can anyone help me with this one ..... is it because of SDL blitting or sumthin else .... thanx in advance, enygmyx.
Advertisement
i doubt it''s a blitting problem.

sounds like an image loading problem. your''re probably setting the pixels backwards from how SDL wants them.
Now I get a cookie!

This topic is closed to new replies.

Advertisement