Fix default OpenGL debug flag being the opposite of what it should be

This commit is contained in:
Pierre Krieger 2015-04-02 09:06:33 +02:00
parent a0ac31b70f
commit eb430ff207
2 changed files with 2 additions and 2 deletions

View file

@ -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!(ndebug),
vsync: false,
visible: true,
multisampling: None,