mirror of
https://github.com/glfw/glfw.git
synced 2025-10-01 04:10:59 +00:00
Remove now unused wgpu
member of _glfw
This commit is contained in:
parent
8c2f255906
commit
b0b39d678e
@ -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__
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user