From 43dabf131aa9f76610e1cfd0685e3b36de8c2ebd Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 20 Jul 2015 19:38:57 +0200 Subject: Add CreationError::OpenGlVersionNotSupported --- src/api/osmesa/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/api/osmesa') diff --git a/src/api/osmesa/mod.rs b/src/api/osmesa/mod.rs index 15225b3..056e2d1 100644 --- a/src/api/osmesa/mod.rs +++ b/src/api/osmesa/mod.rs @@ -46,6 +46,8 @@ impl OsMesaContext { _ => () } + // TODO: check OpenGL version and return `OpenGlVersionNotSupported` if necessary + Ok(OsMesaContext { width: dimensions.0, height: dimensions.1, -- cgit v1.2.3