mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Add support for SDL_GL_CONTEXT_NO_ERROR.
Allows graphics drivers to run with reduced overhead.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user