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/drivers/cell/ppu/cell_draw_arrays.c | |
parent | 9aa73cfae84c7710df97ce182d32bea8d3423ab7 (diff) | |
parent | 64e525eab9e7c60ee18bc75e6f269783533d5edd (diff) |
Merge branch 'gallium-winsys-private' into gallium-0.2
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_draw_arrays.c')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_draw_arrays.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_draw_arrays.c b/src/gallium/drivers/cell/ppu/cell_draw_arrays.c index 880d535320..67949b73dd 100644 --- a/src/gallium/drivers/cell/ppu/cell_draw_arrays.c +++ b/src/gallium/drivers/cell/ppu/cell_draw_arrays.c @@ -33,7 +33,7 @@ #include "pipe/p_defines.h" #include "pipe/p_context.h" -#include "pipe/p_winsys.h" +#include "pipe/internal/p_winsys_screen.h" #include "pipe/p_inlines.h" #include "cell_context.h" @@ -53,7 +53,7 @@ cell_map_constant_buffers(struct cell_context *sp) for (i = 0; i < 2; i++) { if (sp->constants[i].size) { sp->mapped_constants[i] = ws->buffer_map(ws, sp->constants[i].buffer, - PIPE_BUFFER_USAGE_CPU_READ); + PIPE_BUFFER_USAGE_CPU_READ); cell_flush_buffer_range(sp, sp->mapped_constants[i], sp->constants[i].buffer->size); } |