Closed MathewSachin closed 7 years ago
When taking screenshots on Direct3D11 of ImageFormat.PixelData only one image succeeds and rest fail.
ImageFormat.PixelData
It happens due to the subresource not being released.
I moved the code to release subresource into the finally blocked and it was fixed.
finally
When taking screenshots on Direct3D11 of
ImageFormat.PixelData
only one image succeeds and rest fail.It happens due to the subresource not being released.
I moved the code to release subresource into the
finally
blocked and it was fixed.