OGL/Render: Drop write-only variable.
This commit is contained in:
parent
5e027a0817
commit
34d733d376
|
@ -51,7 +51,6 @@ void VideoConfig::UpdateProjectionHack()
|
||||||
::UpdateProjectionHack(g_Config.iPhackvalue, g_Config.sPhackvalue);
|
::UpdateProjectionHack(g_Config.iPhackvalue, g_Config.sPhackvalue);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int OSDInternalW, OSDInternalH;
|
|
||||||
static int s_max_texture_size = 0;
|
static int s_max_texture_size = 0;
|
||||||
|
|
||||||
namespace OGL
|
namespace OGL
|
||||||
|
@ -333,9 +332,6 @@ static void InitDriverInfo()
|
||||||
// Init functions
|
// Init functions
|
||||||
Renderer::Renderer()
|
Renderer::Renderer()
|
||||||
{
|
{
|
||||||
OSDInternalW = 0;
|
|
||||||
OSDInternalH = 0;
|
|
||||||
|
|
||||||
s_blendMode = 0;
|
s_blendMode = 0;
|
||||||
|
|
||||||
bool bSuccess = true;
|
bool bSuccess = true;
|
||||||
|
@ -1449,9 +1445,6 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight,
|
||||||
|
|
||||||
sourceRc.right -= Renderer::EFBToScaledX(fbStride - fbWidth);
|
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);
|
BlitScreen(sourceRc, drawRc, xfbSource->texture, xfbSource->texWidth, xfbSource->texHeight);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue