Setting pixels
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
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement