Buffering Windows GDI
I''ve tryed to double buffer window GDI and so far it''s not working.
I created one memory HDC and StrechBlt and Blt bitmaps on to it. I then Blt / Stretch Blt it onto the Screen DC. But I never get anything on screen.
Do I have to set up a clipper or something? Anyone have a good weblink on Windows GDI?
FYI: I know DDraw is 90000 times faster / better. No, I can''t use it for this.
------------------------------------------------------------I wrote the best video game ever, then I woke up...
You don't need a clipper, Windows pretty much keeps you from having to do any work at all (part of the reason GDI is so slow). It would be helpful to see your code.
But, basically, you could do this:
Edited by - Midnight Coder on August 18, 2001 2:19:22 AM
But, basically, you could do this:
|
Edited by - Midnight Coder on August 18, 2001 2:19:22 AM
These are the basics of it..
|
------------------------------------------------------------I wrote the best video game ever, then I woke up...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement