mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
Fixed vertex attribute.
This commit is contained in:
@@ -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) );
|
||||
|
||||
Reference in New Issue
Block a user