wasm: switch to Emscripten-specific WebGPU header

Use <emscripten/html5_webgpu.h> for browser-specific WebGPU support.
This commit is contained in:
Jinny You 2024-12-04 16:00:32 +09:00 committed by Hermet Park
parent 0ebbc614be
commit bb5ba81149

View file

@ -25,7 +25,7 @@
#include <emscripten/bind.h>
#include "tvgPicture.h"
#ifdef THORVG_WG_RASTER_SUPPORT
#include <webgpu/webgpu.h>
#include <emscripten/html5_webgpu.h>
#endif
#ifdef THORVG_GL_RASTER_SUPPORT
#include <emscripten/html5_webgl.h>