diff options
author | Chia-I Wu <[email protected]> | 2010-03-10 22:20:15 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-03-10 22:21:08 +0800 |
commit | e4848d21e8f384f4157076d5e7c7c9d38da6598e (patch) | |
tree | 1d2efb8bf99741578a03e64876e1e1a93891d9e8 /src/gallium/state_trackers | |
parent | 9b348d0ed125a22be3f318ac60cef6f201edfdab (diff) |
gallium: Do not mix winsys-drawable-handle and context-private.
update_buffer should be called with context-private, not
winsys-drawable-handle.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/vega/vg_tracker.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gallium/state_trackers/vega/vg_tracker.c b/src/gallium/state_trackers/vega/vg_tracker.c index a002e50faf7..ea5c2ce41f6 100644 --- a/src/gallium/state_trackers/vega/vg_tracker.c +++ b/src/gallium/state_trackers/vega/vg_tracker.c @@ -380,16 +380,8 @@ boolean st_make_current(struct vg_context *st, void *winsys_drawable_handle) { vg_set_current_context(st); - if (st) { + if (st) st->draw_buffer = draw; - - /* VG state tracker doesn't seem to do front-buffer rendering - * (no calls to flush_frontbuffer). If it ever did start doing - * that, it would need to pass this value down in the - * flush_frontbuffer call: - */ - st->pipe->priv = winsys_drawable_handle; - } return VG_TRUE; } |