mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-05 07:09:32 +00:00
Adjust testgl.c to test gl_release_behavior
This commit is contained in:
committed by
Ryan C. Gordon
parent
3424ec948c
commit
e98ee9bb04
@@ -1226,6 +1226,7 @@ bool SDLTest_CommonInit(SDLTest_CommonState *state)
|
||||
SDL_GL_SetAttribute(SDL_GL_ACCUM_BLUE_SIZE, state->gl_accum_blue_size);
|
||||
SDL_GL_SetAttribute(SDL_GL_ACCUM_ALPHA_SIZE, state->gl_accum_alpha_size);
|
||||
SDL_GL_SetAttribute(SDL_GL_STEREO, state->gl_stereo);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_RELEASE_BEHAVIOR, state->gl_release_behavior);
|
||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, state->gl_multisamplebuffers);
|
||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, state->gl_multisamplesamples);
|
||||
if (state->gl_accelerated >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user