mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
wasm: switch to Emscripten-specific WebGPU header
Use <emscripten/html5_webgpu.h> for browser-specific WebGPU support.
This commit is contained in:
parent
0ebbc614be
commit
bb5ba81149
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
#include <emscripten/bind.h>
|
#include <emscripten/bind.h>
|
||||||
#include "tvgPicture.h"
|
#include "tvgPicture.h"
|
||||||
#ifdef THORVG_WG_RASTER_SUPPORT
|
#ifdef THORVG_WG_RASTER_SUPPORT
|
||||||
#include <webgpu/webgpu.h>
|
#include <emscripten/html5_webgpu.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef THORVG_GL_RASTER_SUPPORT
|
#ifdef THORVG_GL_RASTER_SUPPORT
|
||||||
#include <emscripten/html5_webgl.h>
|
#include <emscripten/html5_webgl.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue