src/test/SDL_test_common.c
changeset 7796 75c80f36038e
parent 7787 e6f3e8fc96ea
child 7828 1451063c8ecd
equal deleted inserted replaced
7795:6acc7df4a175 7796:75c80f36038e
   692             SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, state->gl_major_version);
   692             SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, state->gl_major_version);
   693             SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, state->gl_minor_version);
   693             SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, state->gl_minor_version);
   694         }
   694         }
   695         if (state->gl_debug) {
   695         if (state->gl_debug) {
   696             SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);
   696             SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);
       
   697         }
       
   698         if (state->gl_profile_mask) {
       
   699             SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, state->gl_profile_mask);
   697         }
   700         }
   698 
   701 
   699         if (state->verbose & VERBOSE_MODES) {
   702         if (state->verbose & VERBOSE_MODES) {
   700             SDL_Rect bounds;
   703             SDL_Rect bounds;
   701             SDL_DisplayMode mode;
   704             SDL_DisplayMode mode;