diff --git a/examples/triangle-webgpu.c b/examples/triangle-webgpu.c index e340327dd..c31131221 100644 --- a/examples/triangle-webgpu.c +++ b/examples/triangle-webgpu.c @@ -30,6 +30,7 @@ #include #include +#define GLFW_INCLUDE_NONE #include #define SHADER_SOURCE(...) #__VA_ARGS__ diff --git a/src/internal.h b/src/internal.h index c0f433815..8037f1d31 100644 --- a/src/internal.h +++ b/src/internal.h @@ -367,8 +367,6 @@ typedef struct WGPUSurfaceDescriptor WGPUStringView label; } WGPUSurfaceDescriptor; -typedef WGPUSurface (*PFN_wgpuInstanceCreateSurface)(WGPUInstance, const WGPUSurfaceDescriptor*); - extern WGPUSurface wgpuInstanceCreateSurface(WGPUInstance instance, const WGPUSurfaceDescriptor* descriptor) __attribute((weak)); #include "platform.h" @@ -916,10 +914,6 @@ struct _GLFWlibrary GLFWbool EXT_headless_surface; } vk; - struct { - PFN_wgpuInstanceCreateSurface instanceCreateSurface; - } wgpu; - struct { GLFWmonitorfun monitor; GLFWjoystickfun joystick;