set msaaTargetView to NULL
continuous-integration/drone/push Build is failing Details

d3d11
cosmonaut 2024-03-06 00:03:55 -08:00
parent 75927137d6
commit 5db754719a
1 changed files with 2 additions and 0 deletions

View File

@ -1632,6 +1632,7 @@ static Refresh_Texture* D3D11_CreateTexture(
d3d11Texture->subresources[subresourceIndex].depthStencilTargetView = NULL;
d3d11Texture->subresources[subresourceIndex].uav = NULL;
d3d11Texture->subresources[subresourceIndex].msaaHandle = NULL;
d3d11Texture->subresources[subresourceIndex].msaaTargetView = NULL;
d3d11Texture->subresources[subresourceIndex].layer = layerIndex;
d3d11Texture->subresources[subresourceIndex].level = levelIndex;
@ -3578,6 +3579,7 @@ static uint8_t D3D11_INTERNAL_InitializeSwapchainTexture(
pTexture->subresources[0].uav = uav;
pTexture->subresources[0].depthStencilTargetView = NULL;
pTexture->subresources[0].msaaHandle = NULL;
pTexture->subresources[0].msaaTargetView = NULL;
pTexture->subresources[0].layer = 0;
pTexture->subresources[0].level = 0;