this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'master' into Blurrr for iOS blank screen fix

Eric Wing 7e177815 dd359b1f

+4 -2
+4 -2
src/renderer_GL_common.inl
··· 1062 1062 1063 1063 // Store the window info 1064 1064 SDL_GetWindowSize(window, &target->context->window_w, &target->context->window_h); 1065 - SDL_GL_GetDrawableSize(window, &target->context->drawable_w, &target->context->drawable_h); 1066 1065 target->context->stored_window_w = target->context->window_w; 1067 1066 target->context->stored_window_h = target->context->window_h; 1068 1067 target->context->windowID = SDL_GetWindowID(window); 1069 - 1068 + 1070 1069 // Make a new context if needed and make it current 1071 1070 if(created || target->context->context == NULL) 1072 1071 { ··· 1074 1073 GPU_AddWindowMapping(target); 1075 1074 } 1076 1075 1076 + // SDL_GL_GetDrawableSize must be called after SDL_GL_CreateContext or it will not do anything. 1077 + SDL_GL_GetDrawableSize(window, &target->context->drawable_w, &target->context->drawable_h); 1078 + 1077 1079 #else 1078 1080 1079 1081 screen = SDL_GetVideoSurface();