• Advertisement
Sign in to follow this  

Setting pixels

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