diff options
author | HampusM <hampus@hampusmat.com> | 2024-05-24 23:10:36 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-05-24 23:10:36 +0200 |
commit | 96c29ed9bef2221a57fa8ebe94a8c9a281f76b48 (patch) | |
tree | 3714504dc00220c05d446de6a134968c9e8bb8a2 /glfw/src/window.rs | |
parent | 99a5219144d40ee04d318c9eb0f87663d690629f (diff) |
feat(glfw): add support for double buffer window creation hint
Diffstat (limited to 'glfw/src/window.rs')
-rw-r--r-- | glfw/src/window.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glfw/src/window.rs b/glfw/src/window.rs index 91e059d..25c7425 100644 --- a/glfw/src/window.rs +++ b/glfw/src/window.rs @@ -432,6 +432,7 @@ pub enum Hint { OpenGLDebugContext = crate::ffi::GLFW_OPENGL_DEBUG_CONTEXT, Samples = crate::ffi::GLFW_SAMPLES, + DoubleBuffer = crate::ffi::GLFW_DOUBLEBUFFER, } /// Window size. |