Explorar el Código

Fixed NaCl build.

Branimir Karadžić hace 9 años
padre
commit
b68e2aedcb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/bgfx.cpp

+ 1 - 1
src/bgfx.cpp

@@ -2387,7 +2387,7 @@ namespace bgfx
 			return false;
 		}
 
-		if (!BX_ENABLED(BX_PLATFORM_EMSCRIPTEN)
+		if (!BX_ENABLED(BX_PLATFORM_EMSCRIPTEN || BX_PLATFORM_NACL)
 		&&  NULL == g_platformData.ndt
 		&&  NULL == g_platformData.nwh
 		&&  NULL == g_platformData.context