Explorar o código

Fixed Emscripten build.

Branimir Karadžić %!s(int64=9) %!d(string=hai) anos
pai
achega
26ba4af553
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/bgfx.cpp

+ 2 - 1
src/bgfx.cpp

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