OPENGL: Refactor screen refresh handling.
Subclasses of OpenGLGraphicsManager are now supposed to supply a refreshScreen function which handles actual screen updating (for example, buffer swapping).
This commit is contained in:
parent
3232050dfc
commit
fe2ee9ecf5
6 changed files with 24 additions and 8 deletions
|
@ -431,6 +431,8 @@ void OpenGLGraphicsManager::updateScreen() {
|
|||
GLCALL(glColor4f(1.0f, 1.0f, 1.0f, 1.0f));
|
||||
}
|
||||
#endif
|
||||
|
||||
refreshScreen();
|
||||
}
|
||||
|
||||
Graphics::Surface *OpenGLGraphicsManager::lockScreen() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue