Skip to content

Commit 80bb64c

Browse files
ScreenGrab9: Fix a missing return statement (#659)
1 parent 6113451 commit 80bb64c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ScreenGrab/ScreenGrab9.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ HRESULT DirectX::SaveWICTextureToFile(
792792
if (g_WIC2)
793793
pfGuid = GUID_WICPixelFormat32bppRGB;
794794
else
795-
HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
795+
return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
796796
break;
797797

798798
default:

0 commit comments

Comments
 (0)