mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
r300g: Be more specific on surface_copy fallbacks.
This commit is contained in:
parent
6a926f9997
commit
00ffc90dd2
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue