Setting pixels

Started by
0 comments, last by jollyjeffers 18 years, 6 months ago
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
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

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

This topic is closed to new replies.

Advertisement