func SwapBuffers() { C.glfwSwapBuffers() }
// SwapBuffers swaps the front and back buffers of the window. If the // swap interval is greater than zero, the GPU driver waits the specified number // of screen updates before swapping the buffers. func (w *Window) SwapBuffers() { C.glfwSwapBuffers(w.data) panicError() }
// refreshWait refreshes the window content on screen with the currently drawn // data on the window. The call will block until buffers have been swapped. func (w *Window) refreshWait() { C.glfwSwapBuffers(w.glfwWin) }
//SwapBuffers swaps the front and back buffers of the window. If the //swap interval is greater than zero, the GPU driver waits the specified number //of screen updates before swapping the buffers. func (w *Window) SwapBuffers() { C.glfwSwapBuffers(w.data) }
func SwapBuffers(window Window) { C.glfwSwapBuffers(C.GLFWwindow(window)) }