Skip to main content
GameDev.net gamedev.net
🔒 Locked

Direct Screen Access

Started by Pete_ May 8, 2004 at 2:02 PM 2 replies 350+ views
Original Post
Pete_
Pete_
In Windows XP with C++, how do I set the screen mode to 800x600x24, and then get a pointer block of memory that I can write directly to and it will show up on the screen? I don''t want any double-buffering or anything else, I do that and all blitting myself. Thanks! - Pete
RuneLancer
RuneLancer
What API are you using?

DirectX?
GDI?
OpenGL?
SDL?

The solution to your answer varies depending on which you use.
Pete_
Pete_
Thanks for your reply!
Right now I''m using GDI to blit my back buffer to the screen, but I made a custom Surface class and blitting function.
All I want is just a block of memory to copy my custom Surface directly to the screen with no in-between steps.

- Pete

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.