Fixed Emscripten function calls.

This commit is contained in:
Бранимир Караџић
2020-06-19 09:31:32 -07:00
parent a24274738e
commit 3f6d049470
6 changed files with 112 additions and 40 deletions

View File

@@ -12,6 +12,7 @@
# include "renderer_webgpu.h"
# include "renderer.h"
# include "debug_renderdoc.h"
# include "emscripten.h"
# if !BX_PLATFORM_EMSCRIPTEN
# ifdef DAWN_ENABLE_BACKEND_D3D12
@@ -25,9 +26,6 @@
# include <dawn_native/DawnNative.h>
# include <dawn/dawn_wsi.h>
# include <dawn/dawn_proc.h>
# else
# include <emscripten/emscripten.h>
# include <emscripten/html5.h>
# endif // !BX_PLATFORM_EMSCRIPTEN
namespace bgfx { namespace webgpu