瀏覽代碼

Fixed NaCl build.

Branimir Karadžić 9 年之前
父節點
當前提交
b68e2aedcb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bgfx.cpp

+ 1 - 1
src/bgfx.cpp

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