aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-04-02 10:13:01 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-04-02 10:13:01 +0200
commit8cf875434c8bbefe8227da80484a4dfbc69cd864 (patch)
tree63000176c4a02bb07886d7fd8e3e00d6f3159afd /src/window.rs
parente51b694d596d5709c35219d1c34c6c7130134472 (diff)
downloadglutin-8cf875434c8bbefe8227da80484a4dfbc69cd864.tar.gz
glutin-8cf875434c8bbefe8227da80484a4dfbc69cd864.zip
Fix the default value for OpenGL flag again
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 35a956e..acdf445 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!(debug_assertions)`, 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;