Adds gl_profile_mask to test framework, uses it in testgles
This commit is contained in:
parent
f67950da0c
commit
c51c4c0733
3 changed files with 5 additions and 2 deletions
|
@ -695,6 +695,9 @@ SDLTest_CommonInit(SDLTest_CommonState * state)
|
|||
if (state->gl_debug) {
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);
|
||||
}
|
||||
if (state->gl_profile_mask) {
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, state->gl_profile_mask);
|
||||
}
|
||||
|
||||
if (state->verbose & VERBOSE_MODES) {
|
||||
SDL_Rect bounds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue