Browse Source

i965: add missing return in if statement

Re-add the "return false" that was removed in 0c02d7002d

It seems that something went wrong when merging the patch. The patch
sent to the mailing list does not directly match what was committed.
https://lists.freedesktop.org/archives/mesa-dev/2016-May/118198.html

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
tags/12.0-branchpoint
Thomas Hindoe Paaboel Andersen 9 years ago
parent
commit
df210ff24d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/mesa/drivers/dri/i965/intel_blit.c

+ 1
- 0
src/mesa/drivers/dri/i965/intel_blit.c View File

@@ -355,6 +355,7 @@ can_fast_copy_blit(struct brw_context *brw,
*/
if (src_tr_mode == INTEL_MIPTREE_TRMODE_NONE &&
dst_tr_mode == INTEL_MIPTREE_TRMODE_NONE)
return false;

if (logic_op != GL_COPY)
return false;

Loading…
Cancel
Save