Example #1
0
// Swaps OpenGL framebuffers/Update Display.
func GL_SwapBuffers() {
	GlobalMutex.Lock()
	C.SDL_GL_SwapBuffers()
	GlobalMutex.Unlock()
}
Example #2
0
// Swaps OpenGL framebuffers/Update Display.
func GL_SwapBuffers() { C.SDL_GL_SwapBuffers() }