Webgpu header guard was set up wrong, accidentally defining twice

This commit is contained in:
The Stickmahn 2026-05-31 11:57:04 +02:00
parent 36864b10f3
commit 1629c545f1

View file

@ -17,12 +17,12 @@ extern "C" {
#ifndef WEBGPU_H_
#define WGPU_OBJECT_ATTRIBUTE(object) typedef struct object##Impl *object;
#endif
WGPU_OBJECT_ATTRIBUTE(WGPUSurface)
WGPU_OBJECT_ATTRIBUTE(WGPUInstance)
#undef WGPU_OBJECT_ATTRIBUTE
#endif
/**
* Create a new WGPU surface.