gsdx tc: miss a set scaling call

Likely impact issue #83/#694
This commit is contained in:
Gregory Hainaut 2016-10-08 23:41:16 +02:00
parent 3b733930fe
commit 9af34cc611
1 changed files with 5 additions and 0 deletions

View File

@ -625,6 +625,11 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(const GIFRegTEX0& TEX0, int
dst = CreateTarget(TEX0, w, h, RenderTarget); dst = CreateTarget(TEX0, w, h, RenderTarget);
float multiplier = static_cast<float>(m_renderer->GetUpscaleMultiplier());
GSVector2 scale_factor(multiplier, multiplier);
if(scale_factor.x && scale_factor.y)
dst->m_texture->SetScale(scale_factor);
m_renderer->m_dev->ClearRenderTarget(dst->m_texture, 0); // new frame buffers after reset should be cleared, don't display memory garbage m_renderer->m_dev->ClearRenderTarget(dst->m_texture, 0); // new frame buffers after reset should be cleared, don't display memory garbage
if (m_preload_frame) { if (m_preload_frame) {