this repo has no description
0
fork

Configure Feed

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

Fixed context target dimensions and viewport when GPU_SetWindowResolution() is used.

+7 -2
+7 -2
SDL_gpu/GL_common/SDL_gpu_GL_common.inl
··· 1312 1312 1313 1313 glClear( GL_COLOR_BUFFER_BIT ); 1314 1314 #endif 1315 - 1315 + 1316 + // Store the resolution for fullscreen_desktop changes 1316 1317 target->context->stored_window_w = target->context->window_w; 1317 1318 target->context->stored_window_h = target->context->window_h; 1319 + 1320 + // Resets virtual resolution 1321 + target->w = target->context->window_w; 1322 + target->h = target->context->window_h; 1318 1323 1319 - // Update display 1324 + // Resets viewport 1320 1325 target->viewport = GPU_MakeRect(0, 0, target->w, target->h); 1321 1326 changeViewport(target); 1322 1327