Fixed vertex attribute.

This commit is contained in:
Branimir Karadžić
2015-08-07 11:37:52 -07:00
parent 6d8cf6a000
commit f82f99b2a6
6 changed files with 20 additions and 20 deletions

View File

@@ -3455,7 +3455,7 @@ namespace bgfx { namespace gl
if (-1 != loc)
{
if (0xff != _vertexDecl.m_attributes[attr])
if (UINT16_MAX != _vertexDecl.m_attributes[attr])
{
GL_CHECK(glEnableVertexAttribArray(loc) );
GL_CHECK(glVertexAttribDivisor(loc, 0) );