mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
* Fix for SMP hack on OS X
This commit is contained in:
parent
c903576c59
commit
0951b69be5
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue