Skip to content

Commit 7b2c2ef

Browse files
committed
swapBuffers restored
1 parent 309acf6 commit 7b2c2ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/uno/glfw/GlfwWindow.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ open class GlfwWindow(var handle: Long) {
310310
}
311311

312312
infix fun createSurface(instance: VkInstance) = glfw.createWindowSurface(handle, instance)
313+
314+
fun swapBuffers() = glfwSwapBuffers(handle)
313315
}
314316

315317
typealias CharCallbackT = (codePoint: Int) -> Unit

0 commit comments

Comments
 (0)