Skip to content

Commit 059ce81

Browse files
authored
Minor SAL fix (#495)
1 parent 1c78c7d commit 059ce81

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ScreenGrab/ScreenGrab11.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ namespace DirectX
4141
_In_ REFGUID guidContainerFormat,
4242
_In_z_ const wchar_t* fileName,
4343
_In_opt_ const GUID* targetFormat = nullptr,
44-
_In_opt_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr,
44+
_In_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr,
4545
_In_ bool forceSRGB = false);
4646
}

ScreenGrab/ScreenGrab12.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace DirectX
6363
D3D12_RESOURCE_STATES beforeState = D3D12_RESOURCE_STATE_RENDER_TARGET,
6464
D3D12_RESOURCE_STATES afterState = D3D12_RESOURCE_STATE_RENDER_TARGET,
6565
_In_opt_ const GUID* targetFormat = nullptr,
66-
_In_opt_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr,
66+
_In_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr,
6767
bool forceSRGB = false);
6868
#endif
6969
}

ScreenGrab/ScreenGrab9.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ namespace DirectX
4343
_In_ REFGUID guidContainerFormat,
4444
_In_z_ const wchar_t* fileName,
4545
_In_opt_ const GUID* targetFormat = nullptr,
46-
_In_opt_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr);
46+
_In_ std::function<void __cdecl(IPropertyBag2*)> setCustomProps = nullptr);
4747
}

0 commit comments

Comments
 (0)