summaryrefslogtreecommitdiffstats
path: root/include/GL/internal
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-07-02 08:24:05 +1000
committerDave Airlie <airlied@redhat.com>2014-07-02 08:24:05 +1000
commit8392179fcc10024e3d80d6adedb38c30fd3cacc7 (patch)
tree37e5eab43df6c1c101c353ee127c788e50662e98 /include/GL/internal
parent78121e4b8d6a306d14d9dd53ce1491483651fb64 (diff)
downloadexternal_mesa3d-8392179fcc10024e3d80d6adedb38c30fd3cacc7.zip
external_mesa3d-8392179fcc10024e3d80d6adedb38c30fd3cacc7.tar.gz
external_mesa3d-8392179fcc10024e3d80d6adedb38c30fd3cacc7.tar.bz2
xmlconfig/dri: bool -> unsigned char
Drop stdbool, due to the X server being a pain and having struct members called bool, although I've sent a patch to fix that we should retain stupidity here. Use unsigned char which is what GLboolean is anyways. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/GL/internal')
-rw-r--r--include/GL/internal/dri_interface.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 725d622..7c28c13 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -40,7 +40,6 @@
#ifndef DRI_INTERFACE_H
#define DRI_INTERFACE_H
-#include <stdbool.h>
/* For archs with no drm.h */
#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__)
#ifndef __NOT_HAVE_DRM_H
@@ -1295,7 +1294,7 @@ typedef struct __DRI2configQueryExtensionRec __DRI2configQueryExtension;
struct __DRI2configQueryExtensionRec {
__DRIextension base;
- int (*configQueryb)(__DRIscreen *screen, const char *var, bool *val);
+ int (*configQueryb)(__DRIscreen *screen, const char *var, unsigned char *val);
int (*configQueryi)(__DRIscreen *screen, const char *var, int *val);
int (*configQueryf)(__DRIscreen *screen, const char *var, float *val);
};