diff options
Diffstat (limited to 'intern/ghost/GHOST_IWindow.h')
-rw-r--r-- | intern/ghost/GHOST_IWindow.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h index a2d3e9b91fb..35577075263 100644 --- a/intern/ghost/GHOST_IWindow.h +++ b/intern/ghost/GHOST_IWindow.h @@ -205,6 +205,19 @@ public: virtual GHOST_TSuccess swapBuffers() = 0; /** + * Sets the swap interval for swapBuffers. + * \param interval The swap interval to use. + * \return A boolean success indicator. + */ + virtual GHOST_TSuccess setSwapInterval(int interval) = 0; + + /** + * Gets the current swap interval for swapBuffers. + * \return An integer. + */ + virtual int getSwapInterval() = 0; + + /** * Activates the drawing context of this window. * \return A boolean success indicator. */ |