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/mesa/state_tracker/st_context.c | |
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/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 09f891d691a..ca6d4dfb069 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -287,7 +287,7 @@ st_make_current(struct st_context *st, } _mesa_check_init_viewport(st->ctx, draw->InitWidth, draw->InitHeight); - st->pipe->priv = winsys_drawable_handle; + st->winsys_drawable_handle = winsys_drawable_handle; return GL_TRUE; } |