Remove now unused wgpu member of _glfw

This commit is contained in:
Sebastian Emanuel Dawid 2025-09-29 11:41:35 +02:00
parent 8c2f255906
commit b0b39d678e
2 changed files with 1 additions and 6 deletions

View File

@ -30,6 +30,7 @@
#include <webgpu/webgpu.h>
#include <webgpu/wgpu.h>
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
#define SHADER_SOURCE(...) #__VA_ARGS__

View File

@ -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;