Adds gl_profile_mask to test framework, uses it in testgles

This commit is contained in:
Gabriel Jacobo committed 2013-10-10 00:49:57 -03:00
1 parent d0fddfab84
commit 89131435f8
3 files changed
+5 -2

No files matched your search

+3
View File
@@ -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;