Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

enygmyx

Blitting using SDL

This topic is 5245 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!