fix OSX build

This commit is contained in:
erwin.coumans
2010-01-20 04:52:07 +00:00
parent 50a3c32a5f
commit ae6c59848f
3 changed files with 13 additions and 8 deletions

View File

@@ -31,12 +31,15 @@ subject to the following restrictions:
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#define BT_ACTIVE_ALT VK_LMENU
#else
#include <GL/glut.h>
#endif //_WINDOWS
#endif //APPLE
#ifdef _WINDOWS
#define BT_ACTIVE_ALT VK_LMENU
#else
#define BT_KEY_K 'k'
#define BT_KEY_LEFT GLUT_KEY_LEFT
#define BT_KEY_RIGHT GLUT_KEY_RIGHT
@@ -54,8 +57,6 @@ subject to the following restrictions:
#define BT_ACTIVE_ALT GLUT_ACTIVE_ALT
#define BT_ACTIVE_CTRL GLUT_ACTIVE_ALT
#define BT_ACTIVE_SHIFT GLUT_ACTIVE_SHIFT
#endif
#endif
#if BT_USE_FREEGLUT