r1166 - trunk/code/sdl

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Sep 5 22:16:07 EDT 2007


Author: tma
Date: 2007-09-05 22:16:07 -0400 (Wed, 05 Sep 2007)
New Revision: 1166

Modified:
   trunk/code/sdl/sdl_glimp.c
Log:
* Fix for SMP hack on OS X


Modified: trunk/code/sdl/sdl_glimp.c
===================================================================
--- trunk/code/sdl/sdl_glimp.c	2007-09-05 21:46:15 UTC (rev 1165)
+++ trunk/code/sdl/sdl_glimp.c	2007-09-06 02:16:07 UTC (rev 1166)
@@ -37,6 +37,7 @@
 
 /* Just hack it for now. */
 #ifdef MACOS_X
+#include <OpenGL/OpenGL.h>
 typedef CGLContextObj QGLContext;
 #define GLimp_GetCurrentContext() CGLGetCurrentContext()
 #define GLimp_SetCurrentContext(ctx) CGLSetCurrentContext(ctx)




More information about the quake3-commits mailing list