diff options
author | Zack Rusin <zackr@vmware.com> | 2009-02-01 18:48:16 -0500 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-02-01 18:48:16 -0500 |
commit | 1c90cdd878e9d10e1f6ac619d5d0c3f5151fcb2b (patch) | |
tree | f7463e67788d7b096668e2627118f39aec81ba81 /src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c | |
parent | 9aa73cfae84c7710df97ce182d32bea8d3423ab7 (diff) | |
parent | 64e525eab9e7c60ee18bc75e6f269783533d5edd (diff) |
Merge branch 'gallium-winsys-private' into gallium-0.2
Diffstat (limited to 'src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c')
-rw-r--r-- | src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c b/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c index 789042f6f2..d53482f579 100644 --- a/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c +++ b/src/gallium/state_trackers/g3dvl/vl_r16snorm_mc_buf.c @@ -2,7 +2,6 @@ #include "vl_r16snorm_mc_buf.h" #include <assert.h> #include <pipe/p_context.h> -#include <pipe/p_winsys.h> #include <pipe/p_screen.h> #include <pipe/p_state.h> #include <pipe/p_inlines.h> @@ -649,9 +648,9 @@ static int vlFlush pipe->set_framebuffer_state(pipe, &mc->render_target); pipe->set_viewport_state(pipe, &mc->viewport); - vs_consts = pipe->winsys->buffer_map + vs_consts = pipe_buffer_map ( - pipe->winsys, + pipe->screen, mc->vs_const_buf.buffer, PIPE_BUFFER_USAGE_CPU_WRITE | PIPE_BUFFER_USAGE_DISCARD ); |