mirror of https://github.com/PCSX2/pcsx2.git
GS-ogl: Fix regression that broke linux HW mode
This commit is contained in:
parent
485e514409
commit
cd22a1d00d
|
@ -1930,13 +1930,17 @@ void GSDeviceOGL::SetupCBMisc(const GSVector4i& channel)
|
|||
void GSDeviceOGL::SetupPipeline(const VSSelector& vsel, const GSSelector& gsel, const PSSelector& psel)
|
||||
{
|
||||
auto i = m_ps.find(psel);
|
||||
GLuint ps = i->second;
|
||||
GLuint ps;
|
||||
|
||||
if (i == m_ps.end())
|
||||
{
|
||||
ps = CompilePS(psel);
|
||||
m_ps[psel] = ps;
|
||||
}
|
||||
else
|
||||
{
|
||||
ps = i->second;
|
||||
}
|
||||
|
||||
{
|
||||
#if defined(_DEBUG) && 0
|
||||
|
|
Loading…
Reference in New Issue