From 80806c98ef9892abb225965f29027c9b201749ec Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 27 Sep 2013 15:36:59 -0700 Subject: glx: Move the driver extension-loading to a helper function. I'm planning on doing driver extension parsing from 3 places, and making the extension loading step a bit longer. Reviewed-by: Matt Turner Reviewed-by: Chad Versace Reviewed-by: Emil Velikov --- src/glx/dri_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glx/dri_common.h') diff --git a/src/glx/dri_common.h b/src/glx/dri_common.h index 2bbffa9ffbe..2ebcb812732 100644 --- a/src/glx/dri_common.h +++ b/src/glx/dri_common.h @@ -69,6 +69,8 @@ extern void CriticalErrorMessageF(const char *f, ...); extern void *driOpenDriver(const char *driverName); +extern const __DRIextension **driGetDriverExtensions(void *handle); + extern bool dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs, unsigned *major_ver, unsigned *minor_ver, -- cgit v1.2.3