mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
gpu: D3D12 buildfix for Xbox
This commit is contained in:
parent
c95b842b30
commit
326ce9bb8d
1 changed files with 1 additions and 1 deletions
|
|
@ -6403,7 +6403,7 @@ static bool D3D12_INTERNAL_CreateSwapchain(
|
|||
createInfo.num_levels = 1;
|
||||
|
||||
for (Uint32 i = 0; i < windowData->swapchainTextureCount; i += 1) {
|
||||
texture = D3D12_INTERNAL_CreateTexture(renderer, &createInfo, true);
|
||||
texture = D3D12_INTERNAL_CreateTexture(renderer, &createInfo, true, "Swapchain");
|
||||
texture->container = &windowData->textureContainers[i];
|
||||
windowData->textureContainers[i].activeTexture = texture;
|
||||
windowData->textureContainers[i].canBeCycled = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue