Fixed issue #823.

This commit is contained in:
Branimir Karadžić
2016-06-27 11:03:45 -07:00
parent c9a84bd542
commit e47b474263
3 changed files with 3 additions and 3 deletions

View File

@@ -1686,7 +1686,7 @@ namespace bgfx { namespace gl
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
{
uint8_t supported = 0;
uint16_t supported = BGFX_CAPS_FORMAT_TEXTURE_NONE;
supported |= s_textureFormat[ii].m_supported
? BGFX_CAPS_FORMAT_TEXTURE_2D
| BGFX_CAPS_FORMAT_TEXTURE_3D