Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp
| Context not available. | |||||
| m_window->setSwapInterval(interval); | m_window->setSwapInterval(interval); | ||||
| } | } | ||||
| int GPG_Canvas::GetSwapInterval() | bool GPG_Canvas::GetSwapInterval(int& intervalOut) | ||||
| { | { | ||||
| if (m_window) | if (m_window) | ||||
| return m_window->getSwapInterval(); | return (bool)m_window->getSwapInterval(intervalOut); | ||||
| return 0; | return false; | ||||
| } | } | ||||
| void GPG_Canvas::ResizeWindow(int width, int height) | void GPG_Canvas::ResizeWindow(int width, int height) | ||||
| Context not available. | |||||