summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/dri_common.h')
-rw-r--r--src/glx/dri_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/dri_common.h b/src/glx/dri_common.h
index 363f15bf9bb..1b74397063b 100644
--- a/src/glx/dri_common.h
+++ b/src/glx/dri_common.h
@@ -78,4 +78,9 @@ dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs,
uint32_t *render_type, uint32_t *flags, unsigned *api,
int *reset, int *release, unsigned *error);
+extern bool
+dri2_check_no_error(uint32_t flags, struct glx_context *share_context,
+ int major, unsigned *error);
+
+
#endif /* _DRI_COMMON_H */