release swapchain SRV on resize
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
45e7dde067
commit
548c468cc9
|
@ -3680,6 +3680,7 @@ static uint8_t D3D11_INTERNAL_ResizeSwapchain(
|
|||
int32_t height
|
||||
) {
|
||||
/* Release the old views */
|
||||
ID3D11ShaderResourceView_Release(windowData->texture.shaderView);
|
||||
ID3D11RenderTargetView_Release(windowData->texture.subresources[0].colorTargetView);
|
||||
ID3D11UnorderedAccessView_Release(windowData->texture.subresources[0].uav);
|
||||
SDL_free(windowData->texture.subresources);
|
||||
|
|
Loading…
Reference in New Issue