|
||||||||||||||||||
Add Forum to Favorites | Send Topic To a Friend | View Forum FAQ | Track this topic |
Last Thread Next Thread ![]() |
| 16-bit Color |
|
![]() Anonymous Poster |
||||
|
||||
| Good code! Works very well for different Color Bits(16/32). However, it is very important to put brackets, otherwise it does not work at all! I just corrected it like this and it worked fine: BYTE Red GetRValue(dwColor); BYTE Green GetGValue(dwColor); BYTE Blue GetBValue(dwColor); dwColor=(Blue > dwBSHR) > dwGSHR) > dwRSHR) < |
||||
|
||||
![]() Omid Ghavami Member since: 5/18/2001 From: Gothenburg, Sweden |
||||
|
|
||||
| Date this article was posted to GameDev.net: 11/23/1999... Best regards, Omid |
||||
|
||||
All times are ET (US)![]() |
Last Thread Next Thread ![]() |
|