Skip to content

Don't rely on SDL_GL_SwapWindow to synchronize rendering

Simon Ser requested to merge emersion/openxr-simple-example:gl-finish into master

Instead, use glFinish to ensure rendering operations are finished prior to xrReleaseSwapchainImage.

This allows us to only call SDL_GL_SwapWindow when we update the SDL window.

References: monado/monado#43 (closed)

Edited by Simon Ser

Merge request reports

Loading