diff options
Diffstat (limited to 'src/platform/windows')
-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 |