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 /src/mesa/drivers/dri/common/dri_util.c | |
parent | 78121e4b8d6a306d14d9dd53ce1491483651fb64 (diff) | |
download | external_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 'src/mesa/drivers/dri/common/dri_util.c')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 8506f53..6c78928 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -677,7 +677,7 @@ dri2ReleaseBuffer(__DRIscreen *screen, __DRIbuffer *buffer) static int -dri2ConfigQueryb(__DRIscreen *screen, const char *var, bool *val) +dri2ConfigQueryb(__DRIscreen *screen, const char *var, unsigned char *val) { if (!driCheckOption(&screen->optionCache, var, DRI_BOOL)) return -1; |