aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wgl
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/wgl')
-rw-r--r--src/api/wgl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/wgl/mod.rs b/src/api/wgl/mod.rs
index 222620c..a90baff 100644
--- a/src/api/wgl/mod.rs
+++ b/src/api/wgl/mod.rs
@@ -290,7 +290,7 @@ unsafe fn create_context(extra: Option<(&gl::wgl_extra::Wgl, &BuilderAttribs<'st
} else {
match builder.gl_robustness {
Robustness::RobustNoResetNotification | Robustness::RobustLoseContextOnReset => {
- return Err(CreationError::NotSupported);
+ return Err(CreationError::RobustnessNotSupported);
},
_ => ()
}