mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: fix debug build for AMD/Intel HW
This commit is contained in:
parent
cc4713d379
commit
97fad356b8
|
@ -94,14 +94,16 @@ void GSShaderOGL::PS_ressources(GLuint64 handle[2])
|
|||
|
||||
void GSShaderOGL::PS(GLuint s, GLuint sub_count)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
if (true)
|
||||
#else
|
||||
if (GLState::ps != s)
|
||||
#endif
|
||||
{
|
||||
m_ps_sub_count = sub_count;
|
||||
|
||||
#ifndef _DEBUG
|
||||
// In debug always sets the program. It allow to replace the program in apitrace easily.
|
||||
GLState::ps = s;
|
||||
#endif
|
||||
GLState::dirty_prog = true;
|
||||
GLState::dirty_subroutine_ps = true;
|
||||
GLState::dirty_ressources = true;
|
||||
|
|
Loading…
Reference in New Issue