From bff79c02cebd6ddba88918053d4fcd39bbd09b11 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 25 Jun 2015 09:34:33 +0200 Subject: Add support for the EGL_KHR_create_context_no_error extension --- src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 64b0ace..3dcf0f9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -205,6 +205,13 @@ pub enum Robustness { /// shaders. NotRobust, + /// The driver doesn't check anything. This option is very dangerous. Please know what you're + /// doing before using it. See the `GL_KHR_no_error` extension. + /// + /// Since this option is purely an optimisation, no error will be returned if the backend + /// doesn't support it. Instead it will automatically fall back to `NotRobust`. + NoError, + /// Everything is checked to avoid any crash. The driver will attempt to avoid any problem, /// but if a problem occurs the behavior is implementation-defined. You are just guaranteed not /// to get a crash. -- cgit v1.2.3