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/webgpu.h>
|
||||||
#include <webgpu/wgpu.h>
|
#include <webgpu/wgpu.h>
|
||||||
|
#define GLFW_INCLUDE_NONE
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|
||||||
#define SHADER_SOURCE(...) #__VA_ARGS__
|
#define SHADER_SOURCE(...) #__VA_ARGS__
|
||||||
|
@ -367,8 +367,6 @@ typedef struct WGPUSurfaceDescriptor
|
|||||||
WGPUStringView label;
|
WGPUStringView label;
|
||||||
} WGPUSurfaceDescriptor;
|
} WGPUSurfaceDescriptor;
|
||||||
|
|
||||||
typedef WGPUSurface (*PFN_wgpuInstanceCreateSurface)(WGPUInstance, const WGPUSurfaceDescriptor*);
|
|
||||||
|
|
||||||
extern WGPUSurface wgpuInstanceCreateSurface(WGPUInstance instance, const WGPUSurfaceDescriptor* descriptor) __attribute((weak));
|
extern WGPUSurface wgpuInstanceCreateSurface(WGPUInstance instance, const WGPUSurfaceDescriptor* descriptor) __attribute((weak));
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
@ -916,10 +914,6 @@ struct _GLFWlibrary
|
|||||||
GLFWbool EXT_headless_surface;
|
GLFWbool EXT_headless_surface;
|
||||||
} vk;
|
} vk;
|
||||||
|
|
||||||
struct {
|
|
||||||
PFN_wgpuInstanceCreateSurface instanceCreateSurface;
|
|
||||||
} wgpu;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
GLFWmonitorfun monitor;
|
GLFWmonitorfun monitor;
|
||||||
GLFWjoystickfun joystick;
|
GLFWjoystickfun joystick;
|
||||||
|
Loading…
Reference in New Issue
Block a user