Blitting onto a texture surface

Started by
0 comments, last by Prairie 23 years, 7 months ago
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
Advertisement
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

This topic is closed to new replies.

Advertisement