diff options
author | Chia-I Wu <[email protected]> | 2010-12-01 16:59:43 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-12-01 17:00:22 +0800 |
commit | f8e0dd246b26281d31d4f37799985e27368ba2f4 (patch) | |
tree | 81b921358073eb68c07efd8fdf033347995edbbe /src/gallium/state_trackers/vega/paint.c | |
parent | 2bb788ccc674669bc03ad09e4396f079044112e8 (diff) |
st/vega: Remove st_inlines.h.
Per b0427bedde80e3189524651a327235bdfddbc613.
Diffstat (limited to 'src/gallium/state_trackers/vega/paint.c')
-rw-r--r-- | src/gallium/state_trackers/vega/paint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/paint.c b/src/gallium/state_trackers/vega/paint.c index cf9a85d95db..31c17842cf1 100644 --- a/src/gallium/state_trackers/vega/paint.c +++ b/src/gallium/state_trackers/vega/paint.c @@ -28,7 +28,6 @@ #include "matrix.h" #include "image.h" -#include "st_inlines.h" #include "pipe/p_compiler.h" #include "util/u_inlines.h" @@ -161,7 +160,7 @@ static INLINE struct pipe_resource *create_gradient_texture(struct vg_paint *p) { /* upload color_data */ struct pipe_transfer *transfer = - st_no_flush_get_transfer(p->base.ctx, tex, 0, 0, 0, + pipe_get_transfer(p->base.ctx->pipe, tex, 0, 0, 0, PIPE_TRANSFER_WRITE, 0, 0, 1024, 1); void *map = pipe->transfer_map(pipe, transfer); memcpy(map, p->gradient.color_data, sizeof(VGint)*1024); |