From 8424eeb4ee8f9bc6ce8e9fff7caaebb2a5a19c7b Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Thu, 5 May 2016 15:32:21 +0200 Subject: [PATCH] gsdx tc: small hint for the compiler --- plugins/GSdx/GSTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GSTextureCache.cpp b/plugins/GSdx/GSTextureCache.cpp index 7447a7e765..4099028506 100644 --- a/plugins/GSdx/GSTextureCache.cpp +++ b/plugins/GSdx/GSTextureCache.cpp @@ -1536,7 +1536,7 @@ void GSTextureCache::Source::Update(const GSVector4i& rect) return; } - GSVector2i bs = GSLocalMemory::m_psm[m_TEX0.PSM].bs; + const GSVector2i& bs = GSLocalMemory::m_psm[m_TEX0.PSM].bs; int tw = std::max(1 << m_TEX0.TW, bs.x); int th = std::max(1 << m_TEX0.TH, bs.y);