Also reset profile mask for mupen

forgot to add this change to previous commit, previous commit build has this change too
This commit is contained in:
CasualPokePlayer 2024-05-31 20:51:44 -07:00
parent 0488bbd33a
commit 5b6c94b996
1 changed files with 1 additions and 0 deletions

View File

@ -640,6 +640,7 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags)
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 1);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, 0);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, 0);
SDL_VideoContext = SDL_GL_CreateContext(SDL_VideoWindow);
if (!SDL_VideoContext) {
return NULL;