From 63f402e1bc8b9bf790a890d6b3ab86c7a9e61a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Mon, 13 Sep 2021 21:01:53 +0700 Subject: Wrap swap interval function --- src/Window.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Window.zig') diff --git a/src/Window.zig b/src/Window.zig index eba375c..4f22fa9 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -185,6 +185,7 @@ pub fn setShouldClose(self: Window, value: bool) Error!void { try checkError(); } +/// Swap the front and back buffers. pub fn swapBuffers(self: Window) Error!void { glfwSwapBuffers(self.pimpl); try checkError(); -- cgit v1.2.3