diff options
author | Tomoaki Kawada <i@yvt.jp> | 2019-06-01 18:54:07 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-02 13:50:50 +0300 |
commit | 62fe7e9a9d0e211bc2ad4cdfedb2489c5f899133 (patch) | |
tree | caa21887fa80485937012a17edcea8126ae7482e /intern/ghost/GHOST_IWindow.h | |
parent | 2a5dc454f63a4c3442d0ff0715cbd3d135bb5ca7 (diff) |
GPU: support default framebuffer with ID not equal to 0
Diffstat (limited to 'intern/ghost/GHOST_IWindow.h')
-rw-r--r-- | intern/ghost/GHOST_IWindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h index 8042244c536..52894a7c38d 100644 --- a/intern/ghost/GHOST_IWindow.h +++ b/intern/ghost/GHOST_IWindow.h @@ -218,6 +218,12 @@ class GHOST_IWindow { virtual GHOST_TSuccess activateDrawingContext() = 0; /** + * Gets the OpenGL framebuffer associated with the window's contents. + * \return The name of an OpenGL framebuffer object. + */ + virtual unsigned int getDefaultFramebuffer() = 0; + + /** * Invalidates the contents of this window. * \return Indication of success. */ |