diff --git a/src/sdl2/video.rs b/src/sdl2/video.rs index 8a6a6e63..2e3f4268 100644 --- a/src/sdl2/video.rs +++ b/src/sdl2/video.rs @@ -295,6 +295,9 @@ pub mod gl_attr { (SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, set_framebuffer_srgb_compatible, framebuffer_srgb_compatible, bool, "requests sRGB capable visual; defaults to false (>= SDL 2.0.1)") + + (SDL_GL_CONTEXT_NO_ERROR, set_context_no_error, context_no_error, bool, + "disables OpenGL error checking; defaults to false (>= SDL 2.0.6)") } /// **Sets** the OpenGL context major and minor versions.