Skip to content

glfwSwapBuffers does not block with swap interval > 0 when window is minimized or covered by another window #680

@badlogic

Description

@badlogic

The docs of glfwSwapBuffers say that this call will vsync (to it's best ability in windowed mode i guess) if the swap interval is > 0.

This works if the window is partially visible (either full-screen or windowed mode). It actually doesn't "vsync" if the window is fully covered by another window or if the window is minimized. Is this by design? Only tested on Mac OS X.

I'm not sure if this could/should be "fixed" in GLFW or if it's the responsibility of the application to take care of it. However, it should at least be documented in the glfwSwapBuffers docs that no vsync'ing happens in case the window is fully covered or minimized.

Metadata

Metadata

Assignees

Labels

bugBug reports and bugfix pull requestsmacOSverifiedReproduced or otherwise verified bugs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions