Jump to content
  • Advertisement


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


Blitting onto a texture surface

This topic is 6467 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 loaded a bmp into a standard ddraw7 surface. I am trying to blit rectangles from it into ddraw Texture surfaces. my error checking code shows that everything BUT the actual blitting is working. (and my surface description flags are correct (atleast according to the help file that comes with the sdk )) I have no idea why it isn''t working. I am not posting code because I am looking for a push in the right direction rather than someone actually giving me the code. Anyway hope someone here can help. Thanks; Prairie

Share this post

Link to post
Share on other sites
Well... my memory is hazy, but when I used DX6 (yes, I know, old.)
before I made th OpenGL switch, I had the same problem. Sooo...
what I did was copy the setup code from one of the DX examples
and, seeing that I actually could do it, it made it all clear,
and a#safe in the knowledge that when I find the reason, it will
work (nothing like trying to do something, but are unsure if it
works with your compiler/setup).

I know its a bit vague, but you said you wanted a nudge it the
right direction, right Consider it a tap

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!