mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed issue #464.
This commit is contained in:
parent
16a7605903
commit
623624b456
2 changed files with 4 additions and 1 deletions
|
@ -320,7 +320,9 @@ GL_IMPORT______(false, PFNGLGETSHADERIVPROC, glGetShaderiv
|
|||
GL_IMPORT______(false, PFNGLGETSHADERINFOLOGPROC, glGetShaderInfoLog);
|
||||
GL_IMPORT______(false, PFNGLGETSTRINGPROC, glGetString);
|
||||
GL_IMPORT______(false, PFNGLGETUNIFORMLOCATIONPROC, glGetUniformLocation);
|
||||
#if !(BGFX_CONFIG_RENDERER_OPENGLES < 30)
|
||||
GL_IMPORT______(true, PFNGLINVALIDATEFRAMEBUFFERPROC, glInvalidateFramebuffer);
|
||||
#endif // !(BGFX_CONFIG_RENDERER_OPENGLES < 30)
|
||||
GL_IMPORT______(false, PFNGLLINKPROGRAMPROC, glLinkProgram);
|
||||
GL_IMPORT______(true, PFNGLMEMORYBARRIERPROC, glMemoryBarrier);
|
||||
GL_IMPORT______(true, PFNGLMULTIDRAWARRAYSINDIRECTPROC, glMultiDrawArraysIndirect);
|
||||
|
|
|
@ -4278,7 +4278,8 @@ namespace bgfx { namespace gl
|
|||
if (usesTextureLod)
|
||||
{
|
||||
BX_WARN(s_extension[Extension::EXT_shader_texture_lod].m_supported, "EXT_shader_texture_lod is used but not supported by GLES2 driver.");
|
||||
if (s_extension[Extension::EXT_shader_texture_lod].m_supported)
|
||||
if (s_extension[Extension::EXT_shader_texture_lod].m_supported
|
||||
/*&& GL_VERTEX_SHADER == m_type*/)
|
||||
{
|
||||
writeString(&writer
|
||||
, "#extension GL_EXT_shader_texture_lod : enable\n"
|
||||
|
|
Loading…
Reference in a new issue