From 34d733d376e8140048a9fbb96fd25155965434a6 Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 6 Oct 2016 21:35:46 +0200 Subject: [PATCH] OGL/Render: Drop write-only variable. --- Source/Core/VideoBackends/OGL/Render.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index 21227a2614..bcef6562bf 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -51,7 +51,6 @@ void VideoConfig::UpdateProjectionHack() ::UpdateProjectionHack(g_Config.iPhackvalue, g_Config.sPhackvalue); } -static int OSDInternalW, OSDInternalH; static int s_max_texture_size = 0; namespace OGL @@ -333,9 +332,6 @@ static void InitDriverInfo() // Init functions Renderer::Renderer() { - OSDInternalW = 0; - OSDInternalH = 0; - s_blendMode = 0; bool bSuccess = true; @@ -1449,9 +1445,6 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, sourceRc.right -= Renderer::EFBToScaledX(fbStride - fbWidth); } - // Tell the OSD Menu about the current internal resolution - OSDInternalW = xfbSource->sourceRc.GetWidth(); - OSDInternalH = xfbSource->sourceRc.GetHeight(); BlitScreen(sourceRc, drawRc, xfbSource->texture, xfbSource->texWidth, xfbSource->texHeight); }