Fixed bad logic.

This commit is contained in:
bkaradzic 2013-04-21 00:43:00 -07:00
parent d9c54b5661
commit b94c328604

View file

@ -2338,7 +2338,7 @@ namespace bgfx
#if !BGFX_CONFIG_RENDERER_OPENGLES3
if (s_extension[Extension::ARB_instanced_arrays].m_supported
&& s_extension[Extension::ANGLE_instanced_arrays].m_supported)
|| s_extension[Extension::ANGLE_instanced_arrays].m_supported)
{
if (NULL != glVertexAttribDivisor
&& NULL != glDrawArraysInstanced