Skip to content

Commit 6b0254d

Browse files
committed
d3d9 param
1 parent bf22596 commit 6b0254d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/d3d9/upscaler_manager.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,12 @@ void UpscalerManager::RenderFrame(void* device, void* source, void* target, uint
102102

103103
m_pInterface->OnRenderFrame(
104104
(uintptr_t)device, (uint64_t)source, (uint64_t)target, 0,
105-
w, h, rw, rh, 0, 0, 0, 0, 0.0f, 0.0f
105+
w, h, rw, rh, 0, 0, 0, 0,
106+
0.0f, 0.0f, // jitterX, jitterY
107+
0.0f, 0.0f, 0.0f, 0.0f, // cameraNear, cameraFar, cameraFov, viewSpaceToMetersFactor
108+
false, false // invertedDepth, hdr
106109
);
110+
107111
}
108112

109113
bool UpscalerManager::IsUpscalingEnabled() const {

0 commit comments

Comments
 (0)