aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-04-02 09:51:58 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-04-02 09:51:58 +0200
commitf0f4a96d50c1a19d46c541401543f8ff3bd53cbf (patch)
tree238dad8a7f836469d9be812bcc49e429a84a09ac /src/window.rs
parenta0ac31b70f79c5a9f182971e3f3ac3fcd7b41b54 (diff)
parenteb430ff2075553549f7044f4b3aa7ef24e914d90 (diff)
downloadglutin-f0f4a96d50c1a19d46c541401543f8ff3bd53cbf.tar.gz
glutin-f0f4a96d50c1a19d46c541401543f8ff3bd53cbf.zip
Merge pull request #342 from tomaka/debug-gl
Fix default OpenGL debug flag being the opposite of what it should be
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;