diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index e61089a7c..40281affe 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -672,10 +672,7 @@ namespace dxvk { const void* data, VkDeviceSize pitchPerRow, VkDeviceSize pitchPerLayer) { - if (subresources.layerCount == 0) { - Logger::warn("DxvkContext::updateImage: Layer count is zero"); - return; - } + this->renderPassEnd(); // Upload data through a staging buffer. Special care needs to // be taken when dealing with compressed image formats: Rather