Skip to content

Commit

Permalink
[G6 only] backport fix for bug 1838781
Browse files Browse the repository at this point in the history
Fixes `gfx.webrender.super-resolution.nvidia` not working properly.
https://phabricator.services.mozilla.com/D182609
  • Loading branch information
goodusername123 authored Dec 11, 2023
1 parent d7d0380 commit c80fc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfx/webrender_bindings/DCLayerTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ static void SetNvidiaVideoSuperRes(ID3D11VideoContext* videoContext,
UINT method;
UINT enable;
} streamExtensionInfo = {nvExtensionVersion, nvExtensionMethodSuperResolution,
enabled ? 0 : 1u};
enabled ? 1u : 0};

HRESULT hr;
hr = videoContext->VideoProcessorSetStreamExtension(
Expand Down

0 comments on commit c80fc0f

Please sign in to comment.