mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-24 04:53:28 -04:00
Fixed Emscripten build.
This commit is contained in:
parent
d45d3c62f8
commit
26ba4af553
1 changed files with 2 additions and 1 deletions
|
@ -2387,7 +2387,8 @@ namespace bgfx
|
|||
return false;
|
||||
}
|
||||
|
||||
if (NULL == g_platformData.ndt
|
||||
if (!BX_ENABLED(BX_PLATFORM_EMSCRIPTEN)
|
||||
&& NULL == g_platformData.ndt
|
||||
&& NULL == g_platformData.nwh
|
||||
&& NULL == g_platformData.context
|
||||
&& NULL == g_platformData.backBuffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue