mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-24 04:53:28 -04:00
Fixed NaCl debug build.
This commit is contained in:
parent
8c55c8f8a9
commit
659feeec61
1 changed files with 2 additions and 1 deletions
|
@ -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) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue