summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-30 22:45:54 +0800
committerChia-I Wu <[email protected]>2010-01-30 22:57:18 +0800
commit00e1790f3230de550121591d611b47da299ae15c (patch)
treec4772bcf9cee8de57e7a21ef2810e561ee577a6e /src/egl/drivers
parent94cb321b5d246185abf71d89968d472a626f1a23 (diff)
egl: Rename Binding to CurrentContext in _EGLSurface.
A context can be bound to a surface just like it can be bound to a thread. CurrentContext is a more consistent name.
Diffstat (limited to 'src/egl/drivers')
-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 10f7a31f5b9..9c21576539d 100644
--- a/src/egl/drivers/xdri/egl_xdri.c
+++ b/src/egl/drivers/xdri/egl_xdri.c
@@ -600,7 +600,7 @@ xdri_eglSwapBuffers(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *draw)
struct xdri_egl_surface *xdri_surf = lookup_surface(draw);
/* swapBuffers does not flush commands */
- if (draw->Binding && xdri_driver->FlushCurrentContext)
+ if (draw->CurrentContext && xdri_driver->FlushCurrentContext)
xdri_driver->FlushCurrentContext();
xdri_dpy->psc->driScreen->swapBuffers(xdri_surf->driDrawable, 0, 0, 0);