diff options
Diffstat (limited to 'intern/ghost/GHOST_IWindow.h')
-rw-r--r-- | intern/ghost/GHOST_IWindow.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h index c6befff6871..71dc193a81b 100644 --- a/intern/ghost/GHOST_IWindow.h +++ b/intern/ghost/GHOST_IWindow.h @@ -212,9 +212,17 @@ public: /** * Gets the current swap interval for swapBuffers. - * \return An integer. + * \param windowhandle The handle to the window + * \param intervalOut pointer to location to return swap interval (left untouched if there is an error) + * \return A boolean success indicator of if swap interval was successfully read. */ - virtual int getSwapInterval() = 0; + virtual GHOST_TSuccess getSwapInterval(int& intervalOut) = 0; + + /** + * Gets the current swap interval for swapBuffers. + * \return Number of AA Samples (0 if there is no multisample buffer) + */ + virtual GHOST_TUns16 getNumOfAASamples() = 0; /** * Activates the drawing context of this window. |