Skip to content

Commit

Permalink
gsdx ogl: brain hang in the middle of the line
Browse files Browse the repository at this point in the history
Only impact if bilinear is forced
  • Loading branch information
gregory38 committed Oct 3, 2016
1 parent 5b72fab commit 354aa68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/GSdx/GSRendererOGL.cpp
Expand Up @@ -829,10 +829,10 @@ 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();
// Don't force interpolation on depth format
bilinear &= m_vt.IsLinear();
}

} else if (tex->m_palette) {
Expand Down

0 comments on commit 354aa68

Please sign in to comment.