mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Replace GL booleans with public macros
This commit is contained in:
+9
-9
@@ -168,18 +168,18 @@ typedef struct _GLFWlibraryX11
|
||||
Atom GLFW_SELECTION;
|
||||
|
||||
struct {
|
||||
GLboolean available;
|
||||
GLFWbool available;
|
||||
int eventBase;
|
||||
int errorBase;
|
||||
int major;
|
||||
int minor;
|
||||
GLboolean gammaBroken;
|
||||
GLboolean monitorBroken;
|
||||
GLFWbool gammaBroken;
|
||||
GLFWbool monitorBroken;
|
||||
} randr;
|
||||
|
||||
struct {
|
||||
GLboolean available;
|
||||
GLboolean detectable;
|
||||
GLFWbool available;
|
||||
GLFWbool detectable;
|
||||
int majorOpcode;
|
||||
int eventBase;
|
||||
int errorBase;
|
||||
@@ -200,14 +200,14 @@ typedef struct _GLFWlibraryX11
|
||||
} xdnd;
|
||||
|
||||
struct {
|
||||
GLboolean available;
|
||||
GLFWbool available;
|
||||
int major;
|
||||
int minor;
|
||||
} xinerama;
|
||||
|
||||
#if defined(_GLFW_HAS_XINPUT)
|
||||
struct {
|
||||
GLboolean available;
|
||||
GLFWbool available;
|
||||
int majorOpcode;
|
||||
int eventBase;
|
||||
int errorBase;
|
||||
@@ -218,7 +218,7 @@ typedef struct _GLFWlibraryX11
|
||||
|
||||
#if defined(_GLFW_HAS_XF86VM)
|
||||
struct {
|
||||
GLboolean available;
|
||||
GLFWbool available;
|
||||
int eventBase;
|
||||
int errorBase;
|
||||
} vidmode;
|
||||
@@ -251,7 +251,7 @@ typedef struct _GLFWcursorX11
|
||||
} _GLFWcursorX11;
|
||||
|
||||
|
||||
GLboolean _glfwSetVideoMode(_GLFWmonitor* monitor, const GLFWvidmode* desired);
|
||||
GLFWbool _glfwSetVideoMode(_GLFWmonitor* monitor, const GLFWvidmode* desired);
|
||||
void _glfwRestoreVideoMode(_GLFWmonitor* monitor);
|
||||
|
||||
Cursor _glfwCreateCursor(const GLFWimage* image, int xhot, int yhot);
|
||||
|
||||
Reference in New Issue
Block a user