Skip to content

Commit 766c1c4

Browse files
committed
Fixed overlooked context check at configure
1 parent 937dd9a commit 766c1c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OptiScaler/proxies/FfxApi_Proxy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,8 +998,8 @@ class FfxApiProxy
998998
{
999999
auto type = GetType(desc->type);
10001000

1001-
if (type == FFXStructType::General && contextToType.contains(context))
1002-
type = contextToType[context];
1001+
if (type == FFXStructType::General && contextToType.contains(*context))
1002+
type = contextToType[*context];
10031003

10041004
auto isFg = type == FFXStructType::FG || type == FFXStructType::SwapchainDX12;
10051005

0 commit comments

Comments
 (0)