diff --git a/src/gallium/frontends/dri/dri_util.c b/src/gallium/frontends/dri/dri_util.c index 0ac1bb9b6bb..c6b08832cfe 100644 --- a/src/gallium/frontends/dri/dri_util.c +++ b/src/gallium/frontends/dri/dri_util.c @@ -244,11 +244,6 @@ void driDestroyScreen(__DRIscreen *psp) } } -const __DRIextension **driGetExtensions(__DRIscreen *psp) -{ - return dri_screen(psp)->extensions; -} - /*@}*/ /* WARNING: HACK: Local defines to avoid pulling glx.h. @@ -956,7 +951,6 @@ const __DRIcoreExtension driCoreExtension = { .createNewScreen = NULL, .destroyScreen = driDestroyScreen, - .getExtensions = driGetExtensions, .getConfigAttrib = driGetConfigAttrib, .indexConfigAttrib = driIndexConfigAttrib, .createNewDrawable = NULL, diff --git a/src/gallium/frontends/dri/dri_util.h b/src/gallium/frontends/dri/dri_util.h index 83e63868b24..ddf682b9964 100644 --- a/src/gallium/frontends/dri/dri_util.h +++ b/src/gallium/frontends/dri/dri_util.h @@ -126,7 +126,6 @@ PUBLIC __DRIdrawable * driCreateNewDrawable(__DRIscreen *psp, const __DRIconfig *config, void *data); extern const __DRIimageDriverExtension driImageDriverExtension; PUBLIC void driDestroyScreen(__DRIscreen *psp); -PUBLIC const __DRIextension **driGetExtensions(__DRIscreen *psp); PUBLIC int driGetConfigAttrib(const __DRIconfig *config, unsigned int attrib, unsigned int *value); PUBLIC int