From 7951630d0877fc3c293151ad6476bec7288e63c6 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 25 Apr 2010 15:49:03 +0100 Subject: llvmpipe: llvmpipe_flush_texture -> llvmpipe_flush_resource --- src/gallium/drivers/llvmpipe/lp_surface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/llvmpipe/lp_surface.c') diff --git a/src/gallium/drivers/llvmpipe/lp_surface.c b/src/gallium/drivers/llvmpipe/lp_surface.c index ca03440d5d6..4934055bc6f 100644 --- a/src/gallium/drivers/llvmpipe/lp_surface.c +++ b/src/gallium/drivers/llvmpipe/lp_surface.c @@ -59,14 +59,14 @@ lp_surface_copy(struct pipe_context *pipe, struct llvmpipe_resource *dst_tex = llvmpipe_resource(dst->texture); const enum pipe_format format = src_tex->base.format; - llvmpipe_flush_texture(pipe, + llvmpipe_flush_resource(pipe, dst->texture, dst->face, dst->level, 0, /* flush_flags */ FALSE, /* read_only */ FALSE, /* cpu_access */ FALSE); /* do_not_flush */ - llvmpipe_flush_texture(pipe, + llvmpipe_flush_resource(pipe, src->texture, src->face, src->level, 0, /* flush_flags */ TRUE, /* read_only */ -- cgit v1.2.3