mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Replace EFBRectangle/TargetRectangle with MathUtil::Rectangle
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user