Jump to content
  • Advertisement

Archived

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

Real World

Flipping a surface

This topic is 6053 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

I have a small bitmap loaded as a surface and I want to use the same image again but a mirror image. Is it possible to flip the surface or would I have to have two bitmaps on two surfaces? Cheers Planetblaze.com - www.planetblaze.com - As METAL as it gets!

Share this post


Link to post
Share on other sites
Advertisement
look at the dx docs there may be a blit effect that does this and is supported by most cards. otherwise just use two bitmaps because doing a custom blit in vram is way too slow. you oculd keep both bmps on the same surface ya know or mirror the image at load time.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!