diff options
Diffstat (limited to 'src/api/egl')
-rw-r--r-- | src/api/egl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/egl/mod.rs b/src/api/egl/mod.rs index c06c8ef..32ab71e 100644 --- a/src/api/egl/mod.rs +++ b/src/api/egl/mod.rs @@ -367,7 +367,7 @@ impl<'a> ContextPrototype<'a> { } pub fn finish_pbuffer(self) -> Result<Context, CreationError> { - let dimensions = self.builder.dimensions.unwrap_or((800, 600)); + let dimensions = self.builder.window.dimensions.unwrap_or((800, 600)); let attrs = &[ ffi::egl::WIDTH as libc::c_int, dimensions.0 as libc::c_int, |