diff options
Diffstat (limited to 'src/glx/dri_common.h')
-rw-r--r-- | src/glx/dri_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glx/dri_common.h b/src/glx/dri_common.h index 13b5ae471d1..3bcdebcc529 100644 --- a/src/glx/dri_common.h +++ b/src/glx/dri_common.h @@ -37,6 +37,7 @@ #define _DRI_COMMON_H #include <GL/internal/dri_interface.h> +#include <stdbool.h> typedef struct __GLXDRIconfigPrivateRec __GLXDRIconfigPrivate; @@ -66,4 +67,9 @@ extern void ErrorMessageF(const char *f, ...); extern void *driOpenDriver(const char *driverName); +extern bool +dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs, + unsigned *major_ver, unsigned *minor_ver, + uint32_t *flags, unsigned *api, unsigned *error); + #endif /* _DRI_COMMON_H */ |