diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-31 20:56:04 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-01 01:30:36 +0300 |
commit | 058d29ed9a3e971049c0d9d99f1cf571bfb0efae (patch) | |
tree | 04e045feec7bd75728b4e3f49bd978ad5b0e1596 /intern/ghost/GHOST_C-api.h | |
parent | 13b0a697a07e84abe5a62168ba75f38d325d3f22 (diff) |
GHOST: Enable debug context on offscreen context too
This was a long standing TODO. This was also preventing debug callbacks
form other context than the main window.
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index f23742a9166..2046b55c97f 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -202,7 +202,8 @@ extern GHOST_WindowHandle GHOST_CreateDialogWindow(GHOST_SystemHandle systemhand * \param platform_support_callback An optional callback to check platform support * \return A handle to the new context ( == NULL if creation failed). */ -extern GHOST_ContextHandle GHOST_CreateOpenGLContext(GHOST_SystemHandle systemhandle); +extern GHOST_ContextHandle GHOST_CreateOpenGLContext(GHOST_SystemHandle systemhandle, + GHOST_GLSettings glSettings); /** * Dispose of a context. |