32 bit pixels

Started by
0 comments, last by +AA_970+ 24 years, 3 months ago
I''ve written a routine to plot pixels but the colors don''t come out right (i used the RGB macro). I went throught the articles in the programming section and i think i have to convert the RGB values to color values, but all the articles i deal with 16 bit pixels, i need to know how to get the color value for 32 bit pixels. So, can anyone tell me how to convert and RGB value to a color value for a 32 bit pixel.
Advertisement
Nevermind i got some code to do it in this article

http://www.gamedev.net/reference/programming/directx/article588.asp

This topic is closed to new replies.

Advertisement