dri: delete dri_screen::extensions accessor
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30524>
This commit is contained in:
committed by
Marge Bot
parent
34dea2b38e
commit
1724716ed1
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user