Fixed Emscripten build.

This commit is contained in:
Branimir Karadžić 2016-03-19 12:40:11 -07:00
parent d45d3c62f8
commit 26ba4af553
1 changed files with 2 additions and 1 deletions

View File

@ -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