aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_flush.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-03-10 22:20:15 +0800
committerChia-I Wu <[email protected]>2010-03-10 22:21:08 +0800
commite4848d21e8f384f4157076d5e7c7c9d38da6598e (patch)
tree1d2efb8bf99741578a03e64876e1e1a93891d9e8 /src/mesa/state_tracker/st_cb_flush.c
parent9b348d0ed125a22be3f318ac60cef6f201edfdab (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/mesa/state_tracker/st_cb_flush.c')
-rw-r--r--src/mesa/state_tracker/st_cb_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c
index 1329f807bc9..28a384ba49b 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -79,7 +79,7 @@ display_front_buffer(struct st_context *st)
/* Hook for copying "fake" frontbuffer if necessary:
*/
st->pipe->screen->flush_frontbuffer( st->pipe->screen, front_surf,
- st->pipe->priv );
+ st->winsys_drawable_handle );
/*
st->frontbuffer_status = FRONT_STATUS_UNDEFINED;