summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-12 17:44:03 +0800
committerChia-I Wu <[email protected]>2010-01-12 17:53:57 +0800
commit3e6139d158a054a0dfe8def28bf60201cdb9f385 (patch)
tree491c4e016186930c9fff7ac6dbe98e23c20b706b /src/gallium/winsys
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/gallium/winsys')
-rw-r--r--src/gallium/winsys/egl_xlib/egl_xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/egl_xlib/egl_xlib.c b/src/gallium/winsys/egl_xlib/egl_xlib.c
index 420dccc92c9..1d9bac3871c 100644
--- a/src/gallium/winsys/egl_xlib/egl_xlib.c
+++ b/src/gallium/winsys/egl_xlib/egl_xlib.c
@@ -274,7 +274,7 @@ xlib_eglTerminate(_EGLDriver *drv, _EGLDisplay *dpy)
static _EGLProc
-xlib_eglGetProcAddress(const char *procname)
+xlib_eglGetProcAddress(_EGLDriver *drv, const char *procname)
{
return (_EGLProc) st_get_proc_address(procname);
}