Adds gl_profile_mask to test framework, uses it in testgles
This commit is contained in:
1 parent
d0fddfab84
commit
89131435f8
3 files changed
+5
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user