diff options
author | Chia-I Wu <[email protected]> | 2009-08-03 11:34:37 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-03 11:34:37 -0600 |
commit | 07ee01365a8bddf6f50821ecd585784498a25ff0 (patch) | |
tree | 2d788bcf6cc919b85698080f7e0a8cf447feff59 /src/egl/drivers/xdri | |
parent | 27148ccaba9ceee44a3d9fb4649f4a953b3062a7 (diff) |
egl: Replace IsBound by a pointer to the binding.
IsBound tells if a context or surface is current. What it does not tell
is, to which thread a context is current, or to which context a surface
is current. This commit replaces IsBound by a pointer to the binding
thread or context.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/egl/drivers/xdri')
-rw-r--r-- | src/egl/drivers/xdri/egl_xdri.c | 2 |
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 e040efdd438..d8d29fcef49 100644 --- a/src/egl/drivers/xdri/egl_xdri.c +++ b/src/egl/drivers/xdri/egl_xdri.c @@ -958,7 +958,7 @@ xdri_eglDestroySurface(_EGLDriver *drv, EGLDisplay dpy, EGLSurface surface) struct xdri_egl_surface *xdri_surf = lookup_surface(surface); if (xdri_surf) { _eglUnlinkSurface(&xdri_surf->Base); - if (!xdri_surf->Base.IsBound) { + if (!_eglIsSurfaceBound(&xdri_surf->Base)) { /* st_unreference_framebuffer(surf->Framebuffer); */ |