From d4c5ee63f2e10ed0fb131be51671531304fcc0e8 Mon Sep 17 00:00:00 2001 From: Maciej Plewka Date: Thu, 26 Nov 2020 13:50:04 +0000 Subject: [PATCH] Dont return value from dispatchBlitCommands Signed-off-by: Maciej Plewka --- shared/source/helpers/blit_commands_helper_base.inl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/source/helpers/blit_commands_helper_base.inl b/shared/source/helpers/blit_commands_helper_base.inl index 574f215e9d..3fe09df3da 100644 --- a/shared/source/helpers/blit_commands_helper_base.inl +++ b/shared/source/helpers/blit_commands_helper_base.inl @@ -313,7 +313,8 @@ void BlitCommandsHelper::dispatchBlitCommands(const BlitProperties &b if (blitProperties.blitDirection == BlitterConstants::BlitDirection::HostPtrToImage || blitProperties.blitDirection == BlitterConstants::BlitDirection::ImageToHostPtr) { - return dispatchBlitCommandsRegion(blitProperties, linearStream, rootDeviceEnvironment); + dispatchBlitCommandsRegion(blitProperties, linearStream, rootDeviceEnvironment); + return; } bool preferCopyBufferRegion = isCopyRegionPreferred(blitProperties.copySize, rootDeviceEnvironment);