summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-03-13 10:38:41 +0000
committerJakob Bornecrantz <[email protected]>2009-03-13 01:38:20 +0100
commitf500f3a72c6be61ff9b8e1166f734e408d00aded (patch)
treed299b32bba7cc7d2d06380a5ef72d17269da1137 /src/gallium/drivers/softpipe
parentf786e46cf4fbf50a1cacfb81e22ee155ffe6edd3 (diff)
gallium: Remove do_flip argument from surface_copy
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_surface.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_surface.c b/src/gallium/drivers/softpipe/sp_surface.c
index 6ade7326982..ef04843f172 100644
--- a/src/gallium/drivers/softpipe/sp_surface.c
+++ b/src/gallium/drivers/softpipe/sp_surface.c
@@ -29,10 +29,21 @@
#include "sp_context.h"
+static void
+sp_surface_copy(struct pipe_context *pipe,
+ struct pipe_surface *dest, unsigned destx, unsigned desty,
+ struct pipe_surface *src, unsigned srcx, unsigned srcy,
+ unsigned width, unsigned height)
+{
+ util_surface_copy(pipe, FALSE,
+ dest, destx, desty,
+ src, srcx, srcy,
+ width, height);
+}
void
sp_init_surface_functions(struct softpipe_context *sp)
{
- sp->pipe.surface_copy = util_surface_copy;
+ sp->pipe.surface_copy = sp_surface_copy;
sp->pipe.surface_fill = util_surface_fill;
}