mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 18:07:40 +00:00
GPU: fix swapchain buffer size not set on Xbox
This commit is contained in:
parent
ff834f7733
commit
acb18e05b5
1 changed files with 2 additions and 0 deletions
|
@ -6147,6 +6147,8 @@ static bool D3D12_INTERNAL_CreateSwapchain(
|
|||
windowData->swapchainComposition = swapchain_composition;
|
||||
windowData->swapchainColorSpace = DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709;
|
||||
windowData->frameCounter = 0;
|
||||
windowData->width = width;
|
||||
windowData->height = height;
|
||||
|
||||
// Precache blit pipelines for the swapchain format
|
||||
for (Uint32 i = 0; i < 5; i += 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue