diff options
author | Chia-I Wu <[email protected]> | 2010-01-30 22:45:54 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-30 22:57:18 +0800 |
commit | 00e1790f3230de550121591d611b47da299ae15c (patch) | |
tree | c4772bcf9cee8de57e7a21ef2810e561ee577a6e /src/gallium | |
parent | 94cb321b5d246185abf71d89968d472a626f1a23 (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/gallium')
-rw-r--r-- | src/gallium/state_trackers/egl/common/egl_g3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c index f8334217c47..3f520851c43 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d.c @@ -1129,8 +1129,8 @@ egl_g3d_bind_tex_image(_EGLDriver *drv, _EGLDisplay *dpy, } /* flush properly if the surface is bound */ - if (gsurf->base.Binding) { - gctx = egl_g3d_context(gsurf->base.Binding); + if (gsurf->base.CurrentContext) { + gctx = egl_g3d_context(gsurf->base.CurrentContext); gctx->stapi->st_flush(gctx->st_ctx, PIPE_FLUSH_RENDER_CACHE | PIPE_FLUSH_FRAME, NULL); } |