diff options
| author | Stenzek <stenzek@gmail.com> | 2019-04-16 00:47:46 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2019-04-21 14:28:14 +1000 |
| commit | f8c1ba409cdfc41e60d27b0fc002a8fd79f9c73e (patch) | |
| tree | c3814adea3fb269649fd18e1afd3c8764be5c491 /Source/Core/VideoBackends/Software/SWOGLWindow.cpp | |
| parent | 6ea43235d54a18b70529cb6d0d740e0f8f9c34ea (diff) | |
Replace EFBRectangle/TargetRectangle with MathUtil::Rectangle
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWOGLWindow.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWOGLWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp index 91c8cf0806..e0e0e236c0 100644 --- a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp +++ b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp @@ -84,7 +84,8 @@ bool SWOGLWindow::Initialize(const WindowSystemInfo& wsi) return true; } -void SWOGLWindow::ShowImage(const AbstractTexture* image, const EFBRectangle& xfb_region) +void SWOGLWindow::ShowImage(const AbstractTexture* image, + const MathUtil::Rectangle<int>& xfb_region) { const SW::SWTexture* sw_image = static_cast<const SW::SWTexture*>(image); m_gl_context->Update(); // just updates the render window position and the backbuffer size |
