summaryrefslogtreecommitdiff
path: root/src/egl/drivers/xdri
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-12 17:44:03 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-12 17:53:57 +0800
commit3e6139d158a054a0dfe8def28bf60201cdb9f385 (patch)
tree491c4e016186930c9fff7ac6dbe98e23c20b706b /src/egl/drivers/xdri
parent31d2786239d7d4c5d73d2a39c01d55975b6c901c (diff)
egl: Add _EGLDriver as the first argument to GetProcAddress.
The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
Diffstat (limited to 'src/egl/drivers/xdri')
-rw-r--r--src/egl/drivers/xdri/egl_xdri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/xdri/egl_xdri.c b/src/egl/drivers/xdri/egl_xdri.c
index 0f0a9af15b..8425b3d11e 100644
--- a/src/egl/drivers/xdri/egl_xdri.c
+++ b/src/egl/drivers/xdri/egl_xdri.c
@@ -355,7 +355,7 @@ xdri_eglTerminate(_EGLDriver *drv, _EGLDisplay *dpy)
* Called from eglGetProcAddress() via drv->API.GetProcAddress().
*/
static _EGLProc
-xdri_eglGetProcAddress(const char *procname)
+xdri_eglGetProcAddress(_EGLDriver *drv, const char *procname)
{
/* the symbol is defined in libGL.so */
return (_EGLProc) _glapi_get_proc_address(procname);