gsdx: try to reduce the size of target as much as possible

I suspect too consume too much memory (issue #576)
This commit is contained in:
Gregory Hainaut 2015-06-04 22:15:52 +02:00
parent f8f6117ea9
commit 6f4ec98bc3
1 changed files with 4 additions and 2 deletions

View File

@ -64,7 +64,9 @@ void GSRendererHW::SetScaling(){
else if (m_upscale_multiplier > 1)
{
m_width = (m_buffer_size * 64) * m_upscale_multiplier;
m_height = m_width; //Keep it square
// A square RT consumes too much memory (Gran Turismo 4)
// Let's keep the smallest size as possible
m_height = 512 * m_upscale_multiplier; //m_height = m_width; //Keep it square
}
}
else