fixed #1139: re add preprocess macro

This commit is contained in:
minggo 2012-04-17 18:01:15 +08:00
parent cfdc5edf87
commit 7750664f8b
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ bool CCGLProgram::link()
{ {
glLinkProgram(m_uProgram); glLinkProgram(m_uProgram);
//#if DEBUG #if DEBUG
GLint status; GLint status;
glValidateProgram(m_uProgram); glValidateProgram(m_uProgram);
@ -191,7 +191,7 @@ bool CCGLProgram::link()
m_uVertShader = m_uFragShader = m_uProgram = 0; m_uVertShader = m_uFragShader = m_uProgram = 0;
return false; return false;
} }
//#endif #endif
if (m_uVertShader) if (m_uVertShader)
glDeleteShader(m_uVertShader); glDeleteShader(m_uVertShader);