]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.h
Force a double-buffered GL context.
[lugaru.git] / Source / Game.h
index d5978de94d2fde3bb52aa909ce82d3f627e0e117..65f6887d23b0249492e2183c91ecfff545b980e3 100644 (file)
@@ -1,6 +1,12 @@
 #ifndef _GAME_H_
 #define _GAME_H_
 
+#if (defined(__APPLE__) && defined(__MACH__))
+#  ifdef PLATFORM_MACOSX
+#    error Do not define PLATFORM_MACOSX for new builds. It is for the old Carbonized build.
+#  endif
+#endif
+
 #ifdef PLATFORM_MACOSX
 #include <Carbon.h>
 #include "Quicktime.h"
@@ -223,7 +229,7 @@ public:
        void LoadingScreen();
        void FadeLoadingScreen(float howmuch);
        void Dispose();
-       int DrawGLScene(GLvoid);
+       int DrawGLScene(void);
        void Tick();
        void TickOnce();
        void TickOnceAfter();