* Fix for SMP hack on OS X

This commit is contained in:
Tim Angus 2007-09-06 02:16:07 +00:00
parent c903576c59
commit 0951b69be5
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
/* 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)