diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-06-25 09:34:33 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-06-25 09:35:58 +0200 |
commit | bff79c02cebd6ddba88918053d4fcd39bbd09b11 (patch) | |
tree | 089c25583836b160a073c1b0a3feebfb66059a9d /src/lib.rs | |
parent | 1c6fb9daae92127271e0e13e373998f2bc37df82 (diff) | |
download | glutin-bff79c02cebd6ddba88918053d4fcd39bbd09b11.tar.gz glutin-bff79c02cebd6ddba88918053d4fcd39bbd09b11.zip |
Add support for the EGL_KHR_create_context_no_error extension
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |