swaps_disallowed is used only on wayland
This commit is contained in:
parent
1e49038747
commit
7fc1735a21
4
glfw/internal.h
vendored
4
glfw/internal.h
vendored
@ -441,7 +441,11 @@ struct _GLFWwindow
|
|||||||
bool rawMouseMotion;
|
bool rawMouseMotion;
|
||||||
|
|
||||||
_GLFWcontext context;
|
_GLFWcontext context;
|
||||||
|
#ifdef _GLFW_WAYLAND
|
||||||
bool swaps_disallowed;
|
bool swaps_disallowed;
|
||||||
|
#else
|
||||||
|
const bool swaps_disallowed;
|
||||||
|
#endif
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
GLFWwindowposfun pos;
|
GLFWwindowposfun pos;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user