diff options
author | Sven Gothel <[email protected]> | 2012-11-04 06:42:43 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-11-04 06:42:43 +0100 |
commit | 808c8da0729b845d010d3f5e0babf1fc6129c3e9 (patch) | |
tree | f1ab90439492865de1aa507f4807f8cc96c4a6d4 /make | |
parent | 502847f59ef01c78a85e4ee5453a09d9b83d9a5e (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')
-rw-r--r-- | make/stub_includes/opengl/macosx-window-system.h | 1 |
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); |