summaryrefslogtreecommitdiffstats
path: root/macosx/PictureGLView.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2007-11-27 10:01:02 +0000
committerritsuka <[email protected]>2007-11-27 10:01:02 +0000
commit64f02bda2cf12f36199ba69995e9be0db4ae3ba5 (patch)
tree66fd4ec4abdaf03dec0c5c6fb0f236b7d5488048 /macosx/PictureGLView.h
parentd904fb456d4bd95742ae21fdfff8f99b4c086e01 (diff)
MacGUI: Added a little macro in PictureGLView to make it compiles on Tiger again.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1079 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureGLView.h')
-rw-r--r--macosx/PictureGLView.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/PictureGLView.h b/macosx/PictureGLView.h
index 78f9afdf2..bcbb09517 100644
--- a/macosx/PictureGLView.h
+++ b/macosx/PictureGLView.h
@@ -27,11 +27,13 @@
float fCoordY;
uint8_t * fBuffers[2];
- /* Tiger */
- //unsigned long fTextures[2];
+ #if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
+ unsigned long fTextures[2];
+ #else
/* Leopard */
unsigned int fTextures[2];
-
+ #endif;
+
int fLastEffect;
int fAnimDuration;
int fFrameRate;