Add CreationError::OpenGlVersionNotSupported
This commit is contained in:
parent
ba5adfa1e1
commit
43dabf131a
6 changed files with 19 additions and 13 deletions
|
|
@ -46,6 +46,8 @@ impl OsMesaContext {
|
|||
_ => ()
|
||||
}
|
||||
|
||||
// TODO: check OpenGL version and return `OpenGlVersionNotSupported` if necessary
|
||||
|
||||
Ok(OsMesaContext {
|
||||
width: dimensions.0,
|
||||
height: dimensions.1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue