summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-07-24 19:48:51 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-07-24 19:48:51 -0500
commit2602beb750eb34e429b8b130e03f0a3a3a21ea7a (patch)
treeb035ed29bd1c654e8284f3cac457e00dd189b098
parent58d297f8861fbf1319996f9f16b04ea75dd6d3f6 (diff)
remove half baked test without the appropriate include to make it works
-rw-r--r--slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m4
1 files changed, 0 insertions, 4 deletions
diff --git a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m
index b2c22c0bc..bead765ca 100644
--- a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m
+++ b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.m
@@ -73,11 +73,7 @@
- (void)prepareOpenGL
{
// for overriding to initialize OpenGL state, occurs after context creation
-#ifdef MAC_OS_X_VERSION_10_4
long swapInt = 1;
-#else /* build target 10.5 */
- int swapInt = 1;
-#endif
[[self openGLContext] setValues:&swapInt forParameter:NSOpenGLCPSwapInterval]; // set to vbl sync