Jump to content
  • Advertisement

Archived

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

tHiSiSbOb

BltFast woes

This topic is 5991 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 am just trying to get an image on the screen usin bltfast. But it is not showing up. If i use Blt it works. Here is my code: RECT rct; rct.left =10; rct.top=10; rct.bottom=120; rct.right=120; Primary->BltFast(100,100,Bitmap,&rct,DDBLTFAST_WAIT); What am i doing wrong. "Computers are only as smart as their programers" My Site-> Still working on it.

Share this post


Link to post
Share on other sites
Advertisement
Should you not be drawing onto the back buffer, not the primary one? Also, make sure that you''re loading the bitmap onto the surface correctly.

Share this post


Link to post
Share on other sites
You might try checking the return value from the API. My guess is that a portion of the blit is offscreen and that is why it works with Blt and not BltFast.

Share this post


Link to post
Share on other sites
If you have a DDraw Clipper attached to your blit target (in this case Primary) then BltFast will not work.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!