summaryrefslogtreecommitdiff
path: root/glfw
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-24 23:10:36 +0200
committerHampusM <hampus@hampusmat.com>2024-05-24 23:10:36 +0200
commit96c29ed9bef2221a57fa8ebe94a8c9a281f76b48 (patch)
tree3714504dc00220c05d446de6a134968c9e8bb8a2 /glfw
parent99a5219144d40ee04d318c9eb0f87663d690629f (diff)
feat(glfw): add support for double buffer window creation hint
Diffstat (limited to 'glfw')
-rw-r--r--glfw/src/window.rs1
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.