| 311 | } |
| 312 | |
| 313 | void PresentFrame(bool fullsync) |
| 314 | { |
| 315 | #ifndef ANDROID |
| 316 | SDL_GL_SetSwapInterval(fullsync); |
| 317 | glFinish(); |
| 318 | SDL_GL_SwapWindow(g_window); |
| 319 | #endif |
| 320 | |
| 321 | } |
| 322 | |
| 323 | |
| 324 | // fixes some banding artifacts with repeated blending during thickness and diffuse rendering |