Build support for NX platform (#1257)

* NX platform supports GLES and Vulkan

* These defines are already set on NX
This commit is contained in:
Codecat
2017-10-13 17:13:21 +02:00
committed by Branimir Karadžić
parent bf3f68a596
commit c707e06d79
3 changed files with 12 additions and 4 deletions

View File

@@ -143,10 +143,11 @@ function bgfxProject(_name, _kind, _defines)
"-weak_framework MetalKit",
}
configuration { "not nacl", "not linux-steamlink" }
configuration { "not nacl", "not linux-steamlink", "not NX32", "not NX64" }
includedirs {
--nacl has GLES2 headers modified...
--steamlink has EGL headers modified...
--NX has EGL headers modified...
path.join(BGFX_DIR, "3rdparty/khronos"),
}