diff options
author | Sven Gothel <[email protected]> | 2013-03-18 08:18:04 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-03-18 08:18:04 +0100 |
commit | 4457b343fe8eba3f2da096a72e38b1aac978ffd5 (patch) | |
tree | 44cbcaed8b267b2e3cb90e5ce7f2cd746c382043 /make/stub_includes | |
parent | 3f2da22cfb682d0eb4fedec98b088f95371f8ef4 (diff) |
OSX CGL: Don't issue [NSOpenGLContext clearDrawable] for [NSOpenGLContext setView: view] which breaks pbuffer; Add [NSOpenGLContext clearDrawable].
Diffstat (limited to 'make/stub_includes')
-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 402a16efc..2bfe86aa4 100644 --- a/make/stub_includes/opengl/macosx-window-system.h +++ b/make/stub_includes/opengl/macosx-window-system.h @@ -37,6 +37,7 @@ NSOpenGLContext* createContext(NSOpenGLContext* shareContext, Bool opaque, int* viewNotReady); void setContextView(NSOpenGLContext* ctx, NSView* view); +void clearDrawable(NSOpenGLContext* ctx); Bool makeCurrentContext(NSOpenGLContext* ctx); Bool clearCurrentContext(NSOpenGLContext *ctx); Bool deleteContext(NSOpenGLContext* ctx, Bool releaseOnMainThread); |