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>
* Called from eglGetProcAddress() via drv->GetProcAddress().
*/
static _EGLProc
-dri2_get_proc_address(const _EGLDriver *drv, const char *procname)
+dri2_get_proc_address(const char *procname)
{
return _glapi_get_proc_address(procname);
}
_eglGetDriverProc(const char *procname)
{
if (_eglDriver.GetProcAddress)
- return _eglDriver.GetProcAddress(&_eglDriver, procname);
+ return _eglDriver.GetProcAddress(procname);
return NULL;
}
EGLBoolean (*WaitNative)(EGLint engine);
/* this function may be called from multiple threads at the same time */
- _EGLProc (*GetProcAddress)(const _EGLDriver *drv, const char *procname);
+ _EGLProc (*GetProcAddress)(const char *procname);
_EGLImage *(*CreateImageKHR)(const _EGLDriver *drv, _EGLDisplay *disp,
_EGLContext *ctx, EGLenum target,