about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/ec_gfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/ec_gfx.c b/src/engine/client/ec_gfx.c
index 8ed6a737..ba0d6052 100644
--- a/src/engine/client/ec_gfx.c
+++ b/src/engine/client/ec_gfx.c
@@ -439,7 +439,7 @@ float gfx_screenaspect()
 void gfx_clear_mask(int fill)
 {
 	int i;
-	glGetIntegerv(GL_DEPTH_WRITEMASK, &i);
+	glGetIntegerv(GL_DEPTH_WRITEMASK, (GLint*)&i);
 	glDepthMask(GL_TRUE);
 	glClearDepth(0.0f);
 	glClear(GL_DEPTH_BUFFER_BIT);