Fix the default value for OpenGL flag again

This commit is contained in:
Pierre Krieger 2015-04-02 10:13:01 +02:00
parent e51b694d59
commit 8cf875434c
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!(debug_assertions),
vsync: false,
visible: true,
multisampling: None,