egl: drop unused ${drv}_driver()

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6241>
This commit is contained in:
Eric Engestrom 2020-08-03 16:52:03 +02:00 committed by Marge Bot
parent c74628fd1e
commit 735b35e34a

View file

@ -55,14 +55,13 @@ extern "C" {
/**
* Define the driver typecast functions for _EGLDriver, _EGLDisplay,
* Define the driver typecast functions for _EGLDisplay,
* _EGLContext, _EGLSurface, and _EGLConfig.
*
* Note that this macro defines several functions and should not be ended with
* a semicolon when used.
*/
#define _EGL_DRIVER_STANDARD_TYPECASTS(drvname) \
_EGL_DRIVER_TYPECAST(drvname ## _driver, _EGLDriver, obj) \
/* note that this is not a direct cast */ \
_EGL_DRIVER_TYPECAST(drvname ## _display, _EGLDisplay, obj->DriverData) \
_EGL_DRIVER_TYPECAST(drvname ## _context, _EGLContext, obj) \