Fixed NaCl debug build.

This commit is contained in:
Branimir Karadžić 2014-08-06 22:16:17 -07:00
parent 8c55c8f8a9
commit 659feeec61

View File

@ -3612,7 +3612,8 @@ namespace bgfx
BGFX_FATAL(false, bgfx::Fatal::InvalidShader, "Failed to compile shader.");
}
else if (BX_ENABLED(BGFX_CONFIG_DEBUG)
&& s_extension[Extension::ANGLE_translated_shader_source].m_supported)
&& s_extension[Extension::ANGLE_translated_shader_source].m_supported
&& NULL != glGetTranslatedShaderSourceANGLE)
{
GLsizei len;
GL_CHECK(glGetShaderiv(m_id, GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE, &len) );