Replace GL booleans with public macros

This commit is contained in:
Camilla Berglund
2015-08-23 19:30:04 +02:00
parent 13fbb4748a
commit 0eccf75f65
71 changed files with 581 additions and 557 deletions
+9 -9
View File
@@ -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);