aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/osmesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/osmesa')
-rw-r--r--src/api/osmesa/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/osmesa/mod.rs b/src/api/osmesa/mod.rs
index 2bfc8f5..2debc7e 100644
--- a/src/api/osmesa/mod.rs
+++ b/src/api/osmesa/mod.rs
@@ -37,7 +37,7 @@ impl OsMesaContext {
return Err(OsMesaCreationError::NotSupported);
}
- let dimensions = builder.dimensions.unwrap();
+ let dimensions = builder.window.dimensions.unwrap();
match builder.opengl.robustness {
Robustness::RobustNoResetNotification | Robustness::RobustLoseContextOnReset => {