mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Add CreationError::OpenGlVersionNotSupported
This commit is contained in:
@@ -46,6 +46,8 @@ impl OsMesaContext {
|
||||
_ => ()
|
||||
}
|
||||
|
||||
// TODO: check OpenGL version and return `OpenGlVersionNotSupported` if necessary
|
||||
|
||||
Ok(OsMesaContext {
|
||||
width: dimensions.0,
|
||||
height: dimensions.1,
|
||||
|
||||
Reference in New Issue
Block a user