Fixed OpenGL colors on MacOS X
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@544 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Changes towards version 0.2:
|
||||
- Fixed OpenGL colors on MacOS X -Mika
|
||||
- Added a sane cmd-line naming scheme: --opt=(pc|3do) see --help for more -PBlue
|
||||
- Added new font effect (PC-lander messages), and set colors for text -PBlue
|
||||
- Use correct font for 'CAPTAIN', 'FUEL', and 'CREW' is status screen -PBlue
|
||||
|
||||
@@ -29,10 +29,10 @@ static BOOLEAN scanlines;
|
||||
static BOOLEAN upload_transitiontexture = FALSE;
|
||||
|
||||
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
|
||||
#define R_MASK 0x00ff0000
|
||||
#define G_MASK 0x0000ff00
|
||||
#define B_MASK 0x000000ff
|
||||
#define A_MASK 0xff000000
|
||||
#define R_MASK 0xff000000
|
||||
#define G_MASK 0x00ff0000
|
||||
#define B_MASK 0x0000ff00
|
||||
#define A_MASK 0x000000ff
|
||||
#else
|
||||
#define R_MASK 0x000000ff
|
||||
#define G_MASK 0x0000ff00
|
||||
|
||||
Reference in New Issue
Block a user