add vsync for Mac OSX to avoid tearing artifacts

This commit is contained in:
erwin.coumans
2010-03-06 19:37:38 +00:00
parent da3c174b0e
commit 3c8f8f55d7
2 changed files with 11 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ subject to the following restrictions:
//think different
#if defined(__APPLE__) && !defined (VMDMESA)
#include <OpenGL/OpenGL.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>