aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.rs b/src/window.rs
index f45cd68..64058ea 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -74,7 +74,7 @@ impl<'a> WindowBuilder<'a> {
/// Sets the *debug* flag for the OpenGL context.
///
- /// The default value for this flag is `cfg!(ndebug)`, which means that it's enabled
+ /// The default value for this flag is `!cfg!(ndebug)`, which means that it's enabled
/// when you run `cargo build` and disabled when you run `cargo build --release`.
pub fn with_gl_debug_flag(mut self, flag: bool) -> WindowBuilder<'a> {
self.attribs.gl_debug = flag;