SDL: Remove debug test that got left in
Vicki Pfau vi@endrift.com
Thu, 17 Dec 2020 02:16:47 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/sdl/gl-common.c
→
src/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;