From 87f1ab79a0b92fa9769df115bc8ef7117cfbd764 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Mon, 27 Feb 2017 16:30:14 +0700 Subject: [PATCH] Code cleanup: remove unused variable in GraphicsDrawer::updateScissor --- src/GraphicsDrawer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/GraphicsDrawer.cpp b/src/GraphicsDrawer.cpp index 3830f79f..05782515 100644 --- a/src/GraphicsDrawer.cpp +++ b/src/GraphicsDrawer.cpp @@ -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;