summaryrefslogtreecommitdiff
path: root/source/gl_state.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-02-17 22:53:39 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-02-17 22:53:39 +0000
commit4034314816f7ec9e26c9b9bfc2630c8ca0a24874 (patch)
treed48be98832d2d9cb977540541fae1acb1859142b /source/gl_state.c
parenta5afaf65af8ef50d1ce8bbd9e2133239013c26f7 (diff)
Huge search and replace commit.
Use fixed size integer types from stdint.h instead of custom defined ones. Get endianess infromation form endian.h. Added `remotemode' console command. Link with -ldl only on Linux.
Diffstat (limited to 'source/gl_state.c')
-rw-r--r--source/gl_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gl_state.c b/source/gl_state.c
index 9973c93..64e3ca9 100644
--- a/source/gl_state.c
+++ b/source/gl_state.c
@@ -159,7 +159,7 @@ void GL_Setup2D( void ) {
qglOrtho( 0, gl_config.vidWidth, gl_config.vidHeight, 0, -1, 1 );
draw.scale = 1;
- *( uint32 * )draw.color = *( uint32 * )colorWhite;
+ *( uint32_t * )draw.color = *( uint32_t * )colorWhite;
if( draw.flags & DRAW_CLIP_MASK ) {
qglDisable( GL_SCISSOR_TEST );