src/test/SDL_test_common.c
changeset 7796 75c80f36038e
parent 7787 e6f3e8fc96ea
child 7828 1451063c8ecd
--- a/src/test/SDL_test_common.c	Thu Oct 10 00:30:03 2013 -0300
+++ b/src/test/SDL_test_common.c	Thu Oct 10 00:49:57 2013 -0300
@@ -695,6 +695,9 @@
         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;