GPU: fix swapchain buffer size not set on Xbox

This commit is contained in:
Daniel Ludwig 2024-10-07 19:53:06 +02:00 committed by Sam Lantinga
parent ff834f7733
commit acb18e05b5

View file

@ -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) {