Skip to content
systemcoding.dev

Snippets

Short posts that solve one thing: the code, the output we got, and why it works.

GPU

Enable vsync with glfwSwapInterval

Enable vsync with glfwSwapInterval(1) so the buffer swap waits for the display refresh and the loop does not run flat out in GLFW 3.4.

1 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.