diff options
author | Corbin Simpson <[email protected]> | 2009-06-26 17:39:34 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-06-26 21:25:40 -0700 |
commit | 00ffc90dd25270d84002232f9929cc30abc1e7e2 (patch) | |
tree | 58575ef0d221141723937b301e1a067b4b613b87 /src/gallium/drivers/r300/r300_surface.c | |
parent | 6a926f9997964df10cf77953b92d585b287c58a4 (diff) |
r300g: Be more specific on surface_copy fallbacks.
Diffstat (limited to 'src/gallium/drivers/r300/r300_surface.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c index 75b50969190..7829e78dbf4 100644 --- a/src/gallium/drivers/r300/r300_surface.c +++ b/src/gallium/drivers/r300/r300_surface.c @@ -234,7 +234,7 @@ static void r300_surface_copy(struct pipe_context* pipe, " dimensions %dx%d (pixel pitch %d)\n", src, srcx, srcy, dest, destx, desty, w, h, pixpitch); - if ((srctex == desttex) && + if ((srctex->buffer == desttex->buffer) && ((destx < srcx + w) || (srcx < destx + w)) && ((desty < srcy + h) || (srcy < desty + h))) { fallback: |