Jump to content
  • Advertisement
Sign in to follow this  
cNoob

Setting pixels

This topic is 4700 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

ive made a window and used windows gdi to set a pixel and it works then when i use direct draw7 and i create a surface and change resolution and stuff like that it doesnt show the pixel ps i know how to Plot Pixels using directx

Share this post


Link to post
Share on other sites
Advertisement
If you change the size/resolution DD7 is likely to lose the contents of it's current front-buffer; thus you'll have to re-plot the pixel(s) again.

Alternatively, if you are doing this already on a loop/frame basis are you using the same code? I remember having huge amounts of fun in the DD7 days with pixel formats - and more importantly the ease at which you get combinatorial explosion [grin]

If the pixel format and buffer size changes you may need to change/adapt your pixel writing code to compensate.

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!