Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-06-27 17:57:27 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-06-27 17:57:27 +0400
commit24c0f1873e747dbfdf99637e89ba8c0d6b166f37 (patch)
tree87d9e0042dd4a2cc32a69c25ae1ac7c8cf112cc3 /intern/ghost/intern/GHOST_WindowCocoa.h
parenta961d62653554f69d15c08a45c083c3200d8e1cf (diff)
Fix part of #26850: Cocoa OS X game player was not working, two issues:
* Unlike blender, the game player draws only on windows update callbacks, and those wer not implemented. * Going fullscreen for player was not implemented correct, it expected an existing window but actually it should create one.
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowCocoa.h')
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.h b/intern/ghost/intern/GHOST_WindowCocoa.h
index e6de2bf07b4..ce28f8c4538 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.h
+++ b/intern/ghost/intern/GHOST_WindowCocoa.h
@@ -42,6 +42,7 @@
#include "STR_String.h"
@class CocoaWindow;
+@class CocoaOpenGLView;
class GHOST_SystemCocoa;
@@ -309,7 +310,7 @@ protected:
CocoaWindow *m_window;
/** The openGL view */
- NSOpenGLView *m_openGLView;
+ CocoaOpenGLView *m_openGLView;
/** The opgnGL drawing context */
NSOpenGLContext *m_openGLContext;