This commit is contained in:
Branimir Karadžić 2014-04-01 22:58:03 -07:00
parent e907edd1eb
commit 6e4ad864a9

View file

@ -1382,11 +1382,11 @@ namespace bgfx
}
}
if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL >= 31) )
// || BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGLES >= 30) )
if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL >= 31)
|| BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGLES >= 30) )
{
// s_textureFormat[TextureFormat::R8].m_internalFmt = GL_R8;
// s_textureFormat[TextureFormat::R8].m_fmt = GL_RED;
s_textureFormat[TextureFormat::R8].m_internalFmt = GL_R8;
s_textureFormat[TextureFormat::R8].m_fmt = GL_RED;
}
#if BGFX_CONFIG_RENDERER_OPENGL