This commit is contained in:
Branimir Karadžić 2015-05-30 15:58:45 -07:00
parent 4f2345683d
commit 886dd485c0

View File

@ -4337,8 +4337,8 @@ namespace bgfx { namespace gl
bool usesIUsamplers = !!bx::findIdentifierMatch(code, s_uisamplers);
uint32_t version = usesIUsamplers
? 130
uint32_t version = usesIUsamplers
? 130
: (usesTextureLod ? 120 : 0)
;
@ -4503,7 +4503,6 @@ namespace bgfx { namespace gl
code = temp;
}
BX_TRACE("%s", code);
GL_CHECK(glShaderSource(m_id, 1, (const GLchar**)&code, NULL) );
GL_CHECK(glCompileShader(m_id) );