| 5427 | } |
| 5428 | |
| 5429 | void DisplayFrame() override |
| 5430 | { |
| 5431 | #if defined(OLC_PLATFORM_WINAPI) |
| 5432 | SwapBuffers(glDeviceContext); |
| 5433 | if (bSync) DwmFlush(); // Woooohooooooo!!!! SMOOOOOOOTH! |
| 5434 | #endif |
| 5435 | |
| 5436 | #if defined(OLC_PLATFORM_X11) |
| 5437 | X11::glXSwapBuffers(olc_Display, *olc_Window); |
| 5438 | #endif |
| 5439 | |
| 5440 | #if defined(OLC_PLATFORM_GLUT) |
| 5441 | glutSwapBuffers(); |
| 5442 | #endif |
| 5443 | } |
| 5444 | |
| 5445 | void PrepareDrawing() override |
| 5446 | { |
no outgoing calls
no test coverage detected