Sign in to follow this  
cNoob

Setting pixels

Recommended Posts

cNoob    295
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
jollyjeffers    1570
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this