diff options
author | Dave Airlie <airlied@redhat.com> | 2014-07-02 08:24:05 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-07-02 08:24:05 +1000 |
commit | 8392179fcc10024e3d80d6adedb38c30fd3cacc7 (patch) | |
tree | 37e5eab43df6c1c101c353ee127c788e50662e98 /include | |
parent | 78121e4b8d6a306d14d9dd53ce1491483651fb64 (diff) |
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')
-rw-r--r-- | include/GL/internal/dri_interface.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 725d622a18..7c28c13c2f 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); }; |