summaryrefslogtreecommitdiffstats
path: root/glutin
diff options
context:
space:
mode:
Diffstat (limited to 'glutin')
-rw-r--r--glutin/src/application.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/glutin/src/application.rs b/glutin/src/application.rs
index 1400dcce..61f3ecd5 100644
--- a/glutin/src/application.rs
+++ b/glutin/src/application.rs
@@ -94,16 +94,16 @@ where
Error::WindowCreationFailed(error)
}
CreationError::OpenGlVersionNotSupported => {
- Error::ContextCreationFailed(
+ Error::GraphicsCreationFailed(
ContextError::VersionNotSupported,
)
}
CreationError::NoAvailablePixelFormat => {
- Error::ContextCreationFailed(
+ Error::GraphicsCreationFailed(
ContextError::NoAvailablePixelFormat,
)
}
- error => Error::ContextCreationFailed(
+ error => Error::GraphicsCreationFailed(
ContextError::BackendError(error.to_string()),
),
}