diff options
author | dynaflash <[email protected]> | 2007-11-26 16:22:15 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-11-26 16:22:15 +0000 |
commit | d904fb456d4bd95742ae21fdfff8f99b4c086e01 (patch) | |
tree | 32e052ac2ad66b471b6435c1858cb70c5d805e80 /macosx/PictureGLView.mm | |
parent | b414e35dce7ee86da8229ce2a9c04ecc7c890955 (diff) |
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
Diffstat (limited to 'macosx/PictureGLView.mm')
-rw-r--r-- | macosx/PictureGLView.mm | 8 |
1 files changed, 5 insertions, 3 deletions
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 ) ) { |