diff options
| author | Stenzek <stenzek@gmail.com> | 2018-11-28 14:30:47 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2019-01-25 11:15:57 +1000 |
| commit | e4b205c76937d379cd9043939e2cef1651b1a21b (patch) | |
| tree | 95bc07fc4ffbb9a9e0aa8d7bbb22163a97a1fd8e /Source/Core/VideoBackends/Software/SWOGLWindow.cpp | |
| parent | f1e7fb505bc52fa3d6ed1a13e8c43d44c13cb943 (diff) | |
Decouple XFB scanout from presentation
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWOGLWindow.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWOGLWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp index 2d5b82daa2..91c8cf0806 100644 --- a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp +++ b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp @@ -84,9 +84,9 @@ bool SWOGLWindow::Initialize(const WindowSystemInfo& wsi) return true; } -void SWOGLWindow::ShowImage(AbstractTexture* image, const EFBRectangle& xfb_region) +void SWOGLWindow::ShowImage(const AbstractTexture* image, const EFBRectangle& xfb_region) { - SW::SWTexture* sw_image = static_cast<SW::SWTexture*>(image); + 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 GLsizei glWidth = (GLsizei)m_gl_context->GetBackBufferWidth(); |
