diff options
| author | Mel <einebeere@gmail.com> | 2022-10-02 00:02:16 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-02 00:02:16 +0200 |
| commit | 46ab7c6c8af19dcf537cab25aa468f4afc403940 (patch) | |
| tree | 09e06a5e31ac1b43adb189c8232f08879d2559ad /src/Window.cpp | |
| parent | aca1326e7e3cc4c06e29b92dca256673b46aa510 (diff) | |
| download | meowcraft-46ab7c6c8af19dcf537cab25aa468f4afc403940.tar.zst meowcraft-46ab7c6c8af19dcf537cab25aa468f4afc403940.zip | |
Fix for macOS
Diffstat (limited to 'src/Window.cpp')
| -rw-r--r-- | src/Window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp index 8bb8580..54d70f9 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -8,6 +8,7 @@ Window::Window(const char *title, uint32_t width, uint32_t height) { glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); + glfwWindowHint(GLFW_DOUBLEBUFFER, GL_TRUE); m_window = glfwCreateWindow(width, height, title, nullptr, nullptr); if (m_window == nullptr) { |
