mirror of https://github.com/axmolengine/axmol.git
fixed #1139: re add preprocess macro
This commit is contained in:
parent
cfdc5edf87
commit
7750664f8b
|
@ -176,7 +176,7 @@ bool CCGLProgram::link()
|
|||
{
|
||||
glLinkProgram(m_uProgram);
|
||||
|
||||
//#if DEBUG
|
||||
#if DEBUG
|
||||
GLint status;
|
||||
glValidateProgram(m_uProgram);
|
||||
|
||||
|
@ -191,7 +191,7 @@ bool CCGLProgram::link()
|
|||
m_uVertShader = m_uFragShader = m_uProgram = 0;
|
||||
return false;
|
||||
}
|
||||
//#endif
|
||||
#endif
|
||||
|
||||
if (m_uVertShader)
|
||||
glDeleteShader(m_uVertShader);
|
||||
|
|
Loading…
Reference in New Issue