all repos — mgba @ 218f804427d4a00b0fe33445f74480ce6cf6282c

mGBA Game Boy Advance Emulator

SDL: Remove debug test that got left in
Vicki Pfau vi@endrift.com
Thu, 17 Dec 2020 02:16:47 -0800
commit

218f804427d4a00b0fe33445f74480ce6cf6282c

parent

71379aac66f002e8bc87bc3bc936fbfc4b688b27

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/sdl/gl-common.csrc/platform/sdl/gl-common.c

@@ -41,7 +41,7 @@ #endif

#if SDL_VERSION_ATLEAST(2, 0, 0) renderer->window = SDL_CreateWindow(projectName, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, renderer->viewportWidth, renderer->viewportHeight, SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | (SDL_WINDOW_FULLSCREEN_DESKTOP * renderer->player.fullscreen)); - renderer->glCtx = NULL;//SDL_GL_CreateContext(renderer->window); + renderer->glCtx = SDL_GL_CreateContext(renderer->window); if (!renderer->glCtx) { SDL_DestroyWindow(renderer->window); return false;