Removed texture format check from Emscripten build (causes JS to stop responding).
This commit is contained in:
parent
aadd9bd1c1
commit
4955630ab0
@ -1284,6 +1284,8 @@ namespace bgfx
|
||||
}
|
||||
}
|
||||
|
||||
if (!BX_ENABLED(BX_PLATFORM_EMSCRIPTEN) )
|
||||
{
|
||||
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
|
||||
{
|
||||
if (TextureFormat::Unknown != ii
|
||||
@ -1292,6 +1294,7 @@ namespace bgfx
|
||||
s_textureFormat[ii].m_supported = isTextureFormatValid( (TextureFormat::Enum)ii);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
uint64_t supportedCompressedFormats = 0
|
||||
| (s_textureFormat[TextureFormat::BC1 ].m_supported ? BGFX_CAPS_TEXTURE_FORMAT_BC1 : 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user