Page 1 of 1

putpixel fast...

PostPosted: Feb 14, 2008 @ 12:52pm
by relo

PostPosted: Feb 14, 2008 @ 6:56pm
by edge

PostPosted: Feb 15, 2008 @ 8:19am
by relo
Thanks. So works. But it is not absolutely correct always plot pixels - blue color, and should be red.
Video_Buffer[х * xpitch + y * ypitch]=E_RGBX(255,0,0);

PixelFormat - 6 ??

How to me to deduce pixels of red color (for an example)?

PostPosted: Feb 15, 2008 @ 11:56am
by edge

PostPosted: Feb 15, 2008 @ 1:00pm
by relo
Strange works. Now draws always yellow points.
(I test on "Windows Desktop" - Video_Buffer[x * xpitch + y * ypitch]=(red << 16) | (green << 8) | blue; ) .....

PostPosted: Feb 15, 2008 @ 2:59pm
by edge

PostPosted: Feb 15, 2008 @ 4:04pm
by relo

PostPosted: Feb 16, 2008 @ 2:02pm
by edge