mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed issue #1395.
This commit is contained in:
@@ -4795,7 +4795,7 @@ BX_TRACE("%d, %d, %d, %s", _array, _srgb, _mipAutogen, getName(_format) );
|
||||
GL_CHECK(glVertexAttribDivisor(loc, 0) );
|
||||
|
||||
uint32_t baseVertex = _baseVertex*_vertexDecl.m_stride + _vertexDecl.m_offset[attr];
|
||||
if (NULL != glVertexAttribIPointer
|
||||
if ( (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL >= 30) || BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGLES >= 31) )
|
||||
&& (AttribType::Uint8 == type || AttribType::Int16 == type)
|
||||
&& !normalized)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user