diff options
author | Corbin Simpson <[email protected]> | 2009-05-11 10:09:59 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-05-11 10:09:59 -0700 |
commit | 64f60bc04666dbe2b53c951a2fbab06e2628ee1b (patch) | |
tree | c6785c6942dc90df3ef0ab63e680e353ec91c860 | |
parent | b315ec43eed981b867bc3af16d0e6dc4d050e9ae (diff) |
r300-gallium: Setup surface in r300_surface_copy.
I haven't tested, but this may unbreak surface copies.
-rw-r--r-- | src/gallium/drivers/r300/r300_surface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c index 33bc4ad0caa..d6f3fe1466d 100644 --- a/src/gallium/drivers/r300/r300_surface.c +++ b/src/gallium/drivers/r300/r300_surface.c @@ -225,6 +225,8 @@ static void r300_surface_copy(struct pipe_context* pipe, srcx, srcy, w, h); } + r300_surface_setup(r300, desttex, x, y, w, h); + r300_emit_sampler(r300, &r300_sampler_copy_state, 0); r300_emit_texture(r300, srctex, 0); r300_flush_textures(r300); |