aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3aed80d..c97f769 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -265,7 +265,7 @@ impl BuilderAttribs<'static> {
title: "glutin window".to_string(),
monitor: None,
gl_version: GlRequest::Latest,
- gl_debug: !cfg!(ndebug),
+ gl_debug: cfg!(debug_assertions),
vsync: false,
visible: true,
multisampling: None,