WebGPU - Add support for wgpu (#3899)

This commit is contained in:
Birk Skyum
2025-10-23 14:03:33 +02:00
committed by GitHub
parent ee2d7e0dc4
commit b2c59b0e03
23 changed files with 856 additions and 257 deletions

View File

@@ -295,7 +295,10 @@ GLFWView::GLFWView(bool fullscreen_,
// "... applications will typically want to set the swap interval to one"
// https://www.glfw.org/docs/latest/quick.html#quick_swap_buffers
#if defined(MLN_RENDER_BACKEND_OPENGL)
glfwSwapInterval(1);
#endif
glfwGetWindowSize(window, &width, &height);