summaryrefslogtreecommitdiff
path: root/slideshow
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
commita5eb2da14e3fe7e41e1f7eb16b702644a190a463 (patch)
tree218532638deaccd092beacca5558995406eb9520 /slideshow
parentd5c9bdd202f657a6f6144d0a38b8a31ef6569538 (diff)
remove half baked test without the appropriate include to make it works
Diffstat (limited to 'slideshow')
-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 b2c22c0bcb0b..bead765cab64 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