mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Removed texture format check from Emscripten build (causes JS to stop responding).
This commit is contained in:
parent
aadd9bd1c1
commit
4955630ab0
1 changed files with 7 additions and 4 deletions
|
@ -1284,12 +1284,15 @@ namespace bgfx
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
|
if (!BX_ENABLED(BX_PLATFORM_EMSCRIPTEN) )
|
||||||
{
|
{
|
||||||
if (TextureFormat::Unknown != ii
|
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
|
||||||
&& TextureFormat::UnknownDepth != ii)
|
|
||||||
{
|
{
|
||||||
s_textureFormat[ii].m_supported = isTextureFormatValid( (TextureFormat::Enum)ii);
|
if (TextureFormat::Unknown != ii
|
||||||
|
&& TextureFormat::UnknownDepth != ii)
|
||||||
|
{
|
||||||
|
s_textureFormat[ii].m_supported = isTextureFormatValid( (TextureFormat::Enum)ii);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue