aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-11-04 06:42:43 +0100
committerSven Gothel <[email protected]>2012-11-04 06:42:43 +0100
commit808c8da0729b845d010d3f5e0babf1fc6129c3e9 (patch)
treef1ab90439492865de1aa507f4807f8cc96c4a6d4 /make/stub_includes
parent502847f59ef01c78a85e4ee5453a09d9b83d9a5e (diff)
MacOSXCGLContext[NSOpenGLLayer/NSView]: Propagate drawable change
Propagate drawable change to MacOSXCGLContext where either context/NSView or context/NSOpenGLLayer association needs to get updated. Fixes drawable/context switch.
Diffstat (limited to 'make/stub_includes')
-rw-r--r--make/stub_includes/opengl/macosx-window-system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/stub_includes/opengl/macosx-window-system.h b/make/stub_includes/opengl/macosx-window-system.h
index aaa0cc42e..a2da66878 100644
--- a/make/stub_includes/opengl/macosx-window-system.h
+++ b/make/stub_includes/opengl/macosx-window-system.h
@@ -36,6 +36,7 @@ NSOpenGLContext* createContext(NSOpenGLContext* shareContext,
NSOpenGLPixelFormat* pixelFormat,
Bool opaque,
int* viewNotReady);
+void setContextView(NSOpenGLContext* ctx, NSView* view);
Bool makeCurrentContext(NSOpenGLContext* ctx);
Bool clearCurrentContext(NSOpenGLContext *ctx);
Bool deleteContext(NSOpenGLContext* ctx, Bool releaseOnMainThread);