opengl: add support for GL_KHR_no_error.

This is completely untested!

Fixes Bugzilla #3721.
This commit is contained in:
Ryan C. Gordon 2017-08-24 21:30:53 -04:00
parent 28e9e6c28f
commit b82bd0bd37
6 changed files with 46 additions and 1 deletions

View file

@ -202,7 +202,8 @@ typedef enum
SDL_GL_SHARE_WITH_CURRENT_CONTEXT,
SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
SDL_GL_CONTEXT_RELEASE_BEHAVIOR,
SDL_GL_CONTEXT_RESET_NOTIFICATION
SDL_GL_CONTEXT_RESET_NOTIFICATION,
SDL_GL_CONTEXT_NO_ERROR
} SDL_GLattr;
typedef enum