summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <[email protected]>2016-05-28 13:16:03 +0200
committerJason Ekstrand <[email protected]>2016-05-28 11:26:33 -0700
commitdf210ff24dbdf9d3459061196e28dd37223c0cc5 (patch)
treec0f744c234feab17229a363541917ac64e04492b /src/mesa/drivers
parentc7731a07408c5d4169625d4a78962d2887419080 (diff)
i965: add missing return in if statement
Re-add the "return false" that was removed in 0c02d7002d6c005b4c1fe997b5ef5916978dd183 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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/intel_blit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c b/src/mesa/drivers/dri/i965/intel_blit.c
index 5a48c20d0a9..23e1ab62c4f 100644
--- a/src/mesa/drivers/dri/i965/intel_blit.c
+++ b/src/mesa/drivers/dri/i965/intel_blit.c
@@ -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;