diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-02-26 21:10:15 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-02-26 21:10:15 +0300 |
commit | 0940e89e604d85d717f792b73e30e5e96a42e7c6 (patch) | |
tree | 4160e3fe1477cb9644fe2fc9163c4dffc31a5a86 /intern/ghost/intern/GHOST_WindowCocoa.mm | |
parent | d6df23d9d96bfefb6a0a0f3979d3440d0fef05cc (diff) |
GHOST: Add new interface to manage offscreen contexts.
Offscreen contexts are not attached to a window and can only be used for rendering to frambuffer objects.
CGL implementation : Brecht Van Lommel (brecht)
GLX implementation : Clément Foucault (fclem)
WGL implementation : Germano Cavalcante (mano-wii)
Other implementation are just place holder for now.
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowCocoa.mm')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 309c19f92af..2b986428fd3 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -1005,7 +1005,7 @@ GHOST_Context *GHOST_WindowCocoa::newDrawingContext(GHOST_TDrawingContextType ty #if defined(WITH_GL_PROFILE_CORE) GL_CONTEXT_CORE_PROFILE_BIT, - 3, 2, + 3, 3, #else 0, // no profile bit 2, 1, |