Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Source/DX9VideoProcessor.cpp | 4 ++++
- 1 file changed, 4 insertions(+)
- diff --git a/Source/DX9VideoProcessor.cpp b/Source/DX9VideoProcessor.cpp
- index c4d6270..634e64a 100644
- --- a/Source/DX9VideoProcessor.cpp
- +++ b/Source/DX9VideoProcessor.cpp
- @@ -1413,6 +1413,8 @@ HRESULT CDX9VideoProcessor::Render(int field)
- }
- }
- + hr = m_pD3DDevEx->BeginScene();
- +
- if (m_bShowStats) {
- hr = DrawStats(pBackBuffer);
- }
- @@ -1448,6 +1450,8 @@ HRESULT CDX9VideoProcessor::Render(int field)
- nTearingPos = (nTearingPos + 7) % windowSize.cx;
- }
- #endif
- + hr = m_pD3DDevEx->EndScene();
- +
- uint64_t tick2 = GetPreciseTick();
- m_RenderStats.paintticks = tick2 - tick1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement