mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed issue #74 (cont).
This commit is contained in:
parent
771909c988
commit
7c7f406c9e
1 changed files with 4 additions and 4 deletions
|
@ -1940,7 +1940,7 @@ namespace bgfx
|
|||
bx::write(&writer, code, codeLen);
|
||||
bx::write(&writer, '\0');
|
||||
}
|
||||
else if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL == 21) )
|
||||
else if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL <= 21) )
|
||||
{
|
||||
bool usesTextureLod = s_extension[Extension::ARB_shader_texture_lod].m_supported
|
||||
&& bx::findIdentifierMatch(code, s_ARB_shader_texture_lod)
|
||||
|
@ -1953,10 +1953,10 @@ namespace bgfx
|
|||
{
|
||||
writeString(&writer, "#extension GL_ARB_shader_texture_lod : enable\n");
|
||||
}
|
||||
|
||||
bx::write(&writer, code, codeLen);
|
||||
bx::write(&writer, '\0');
|
||||
}
|
||||
|
||||
bx::write(&writer, code, codeLen);
|
||||
bx::write(&writer, '\0');
|
||||
}
|
||||
else if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL >= 31) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue