diff options
author | Eric Anholt <[email protected]> | 2013-09-27 15:36:59 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-10-24 14:04:20 -0700 |
commit | 80806c98ef9892abb225965f29027c9b201749ec (patch) | |
tree | ef44273ca7e699957cd10b0a2372dee9ac350964 /src/glx/dri_common.h | |
parent | 7463abd37d65abd4d87abe314e0629c853dd9bca (diff) |
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 <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glx/dri_common.h')
-rw-r--r-- | src/glx/dri_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |