diff options
author | Zack Rusin <[email protected]> | 2009-02-01 18:48:16 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2009-02-01 18:48:16 -0500 |
commit | 1c90cdd878e9d10e1f6ac619d5d0c3f5151fcb2b (patch) | |
tree | f7463e67788d7b096668e2627118f39aec81ba81 /src/gallium/drivers/i915simple/i915_state.c | |
parent | 9aa73cfae84c7710df97ce182d32bea8d3423ab7 (diff) | |
parent | 64e525eab9e7c60ee18bc75e6f269783533d5edd (diff) |
Merge branch 'gallium-winsys-private' into gallium-0.2
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_state.c')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915simple/i915_state.c b/src/gallium/drivers/i915simple/i915_state.c index 19f194c027d..273e74002aa 100644 --- a/src/gallium/drivers/i915simple/i915_state.c +++ b/src/gallium/drivers/i915simple/i915_state.c @@ -30,7 +30,7 @@ #include "draw/draw_context.h" -#include "pipe/p_winsys.h" +#include "pipe/internal/p_winsys_screen.h" #include "pipe/p_inlines.h" #include "util/u_math.h" #include "util/u_memory.h" @@ -537,7 +537,7 @@ static void i915_set_constant_buffer(struct pipe_context *pipe, void *mapped; if (buf->buffer && buf->buffer->size && (mapped = ws->buffer_map(ws, buf->buffer, - PIPE_BUFFER_USAGE_CPU_READ))) { + PIPE_BUFFER_USAGE_CPU_READ))) { memcpy(i915->current.constants[shader], mapped, buf->buffer->size); ws->buffer_unmap(ws, buf->buffer); i915->current.num_user_constants[shader] |