1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Code cleanup: remove unused variable in GraphicsDrawer::updateScissor

This commit is contained in:
Sergey Lipskiy 2017-02-27 16:30:14 +07:00
parent e52ad3d726
commit d4617b309a

View File

@ -173,15 +173,12 @@ void GraphicsDrawer::updateScissor(FrameBuffer * _pBuffer) const
{
DisplayWindow & wnd = DisplayWindow::get();
f32 scaleX, scaleY;
u32 screenHeight;
if (_pBuffer == nullptr) {
scaleX = wnd.getScaleX();
scaleY = wnd.getScaleY();
screenHeight = VI.height;
} else {
scaleX = _pBuffer->m_scaleX;
scaleY = _pBuffer->m_scaleY;
screenHeight = (_pBuffer->m_height == 0) ? VI.height : _pBuffer->m_height;
}
f32 SX0 = gDP.scissor.ulx;