|
32 bit Display problem
I''m trying to write some pixels to the screen using DirectDraw7 under 32 bit display:
The display is black instead of red. I''ve tried loading bitmap values from a .bmp file the the display color is still incorrect. It seems I can only plot pixels with shades from black to white. How can I get this to work correctly?
buffer is a pointer to bytes, so all your r bits would be cut off.
Try making it a pointer to an unsigned int (32-bits).
War Worlds - A 3D Real-Time Strategy game in development.
Try making it a pointer to an unsigned int (32-bits).
War Worlds - A 3D Real-Time Strategy game in development.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement