diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-09-21 09:15:53 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-09-21 12:03:55 +0200 |
commit | 48fe9b26442662517b1590cb98ab81d79b059953 (patch) | |
tree | e2043b1941d340090fa7c7e9590bf2f3e7c81b47 /src/platform | |
parent | c244f8c033f100a6e0f3e0b2b408f6ddc1006d47 (diff) | |
download | glutin-48fe9b26442662517b1590cb98ab81d79b059953.tar.gz glutin-48fe9b26442662517b1590cb98ab81d79b059953.zip |
Extract WindowAttributes from the BuilderAttribs
Diffstat (limited to 'src/platform')
-rw-r--r-- | src/platform/windows/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/windows/mod.rs b/src/platform/windows/mod.rs index 7087a23..521939c 100644 --- a/src/platform/windows/mod.rs +++ b/src/platform/windows/mod.rs @@ -86,7 +86,7 @@ pub enum HeadlessContext { impl HeadlessContext { pub fn new(mut builder: BuilderAttribs) -> Result<HeadlessContext, CreationError> { - builder.visible = false; + builder.window.visible = false; // if EGL is available, we try using EGL first // if EGL returns an error, we try the hidden window method |