mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +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. */
|
/* Just hack it for now. */
|
||||||
#ifdef MACOS_X
|
#ifdef MACOS_X
|
||||||
|
#include <OpenGL/OpenGL.h>
|
||||||
typedef CGLContextObj QGLContext;
|
typedef CGLContextObj QGLContext;
|
||||||
#define GLimp_GetCurrentContext() CGLGetCurrentContext()
|
#define GLimp_GetCurrentContext() CGLGetCurrentContext()
|
||||||
#define GLimp_SetCurrentContext(ctx) CGLSetCurrentContext(ctx)
|
#define GLimp_SetCurrentContext(ctx) CGLSetCurrentContext(ctx)
|
||||||
|
|
Loading…
Reference in a new issue