From b68e2aedcb7344e83a835a88ce6eb601d512b1a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 19 Mar 2016 12:41:55 -0700 Subject: [PATCH] Fixed NaCl build. --- src/bgfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index f05e673e4..3a839c828 100644 --- a/src/bgfx.cpp +++ b/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