gsdx ogl: brain hang in the middle of the line

Only impact if bilinear is forced
This commit is contained in:
Gregory Hainaut 2016-10-03 18:52:02 +02:00
parent 5b72fab2e4
commit 354aa6831b
1 changed files with 3 additions and 3 deletions

View File

@ -829,7 +829,7 @@ void GSRendererOGL::EmulateTextureSampler(const GSTextureCache::Source* tex)
bilinear &= m_vt.IsLinear();
} else if (psm.depth) {
// Use Integral scaling
m_ps_sel.depth_fmt = (tex->m_texture->GetType() != GSTexture::DepthStencil) ? 3 :
m_ps_sel.depth_fmt = 3;
// Don't force interpolation on depth format
bilinear &= m_vt.IsLinear();