From d904fb456d4bd95742ae21fdfff8f99b4c086e01 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Mon, 26 Nov 2007 16:22:15 +0000 Subject: Fix Previous Bad Commit (1077) Mac OSX 10.5 Leopard / Xcode 3 Compatibility - Builds using jam on Leopard with Xcode 3 using the 10.5 sdk - Will NOT build on Tiger. Leopard only. - Contrib packs are not updated. Jam build only for now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1078 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/PictureGLView.mm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'macosx/PictureGLView.mm') diff --git a/macosx/PictureGLView.mm b/macosx/PictureGLView.mm index 611fb3a86..6a753380c 100644 --- a/macosx/PictureGLView.mm +++ b/macosx/PictureGLView.mm @@ -414,9 +414,11 @@ static int GetAlignedSize( int size ) /* Swap buffers only during the vertical retrace of the monitor. http://developer.apple.com/documentation/GraphicsImaging/ Conceptual/OpenGL/chap5/chapter_5_section_44.html */ - long params[] = { 1 }; - CGLSetParameter( CGLGetCurrentContext(), kCGLCPSwapInterval, - params ); + /* Tiger */ + //long params[] = { 1 }; + /* Leopard */ + int params[] = { 1 }; + CGLSetParameter( CGLGetCurrentContext(), kCGLCPSwapInterval, params ); if( !( anim & HB_ANIMATE_NONE ) ) { -- cgit v1.2.3