···1062106210631063 // Store the window info
10641064 SDL_GetWindowSize(window, &target->context->window_w, &target->context->window_h);
10651065- SDL_GL_GetDrawableSize(window, &target->context->drawable_w, &target->context->drawable_h);
10661065 target->context->stored_window_w = target->context->window_w;
10671066 target->context->stored_window_h = target->context->window_h;
10681067 target->context->windowID = SDL_GetWindowID(window);
10691069-10681068+10701069 // Make a new context if needed and make it current
10711070 if(created || target->context->context == NULL)
10721071 {
···10741073 GPU_AddWindowMapping(target);
10751074 }
1076107510761076+ // SDL_GL_GetDrawableSize must be called after SDL_GL_CreateContext or it will not do anything.
10771077+ SDL_GL_GetDrawableSize(window, &target->context->drawable_w, &target->context->drawable_h);
10781078+10771079 #else
1078108010791081 screen = SDL_GetVideoSurface();