WebGPU - Add support for wgpu (#3899)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user