gsdx-ogl: improve setting bilinear of palette

Instead to disable it, uses GS settings
This commit is contained in:
Gregory Hainaut 2015-06-09 09:53:50 +02:00
parent 4e7e7f2dd5
commit 4e82073bfc
1 changed files with 2 additions and 1 deletions

View File

@ -537,7 +537,8 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
// In standard mode palette is only used when alpha channel of the RT is
// reinterpreted as an index. Star Ocean 3 uses it to emulate a stencil buffer.
// It is a very bad idea to force bilinear filtering on it.
bilinear &= !ps_sel.ifmt;
if (ps_sel.ifmt)
bilinear = m_vt.IsLinear();
//GL_INS("Use palette with format %d and index format %d", ps_sel.fmt, ps_sel.ifmt);
} else {