commit | 3e11c0bd92fbd12f59080c3f9450201d6105db83 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jul 11 18:20:35 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jul 11 18:20:35 2012 +0000 |
tree | bb15f72ed57cdf90f36f23e7e9d73b0ad1404a39 | |
parent | ad5e937c110efaf9630159d2859fabc4f38f7ab2 [diff] [blame] |
Forced GrClip to always have conservative bounds http://codereview.appspot.com/6353089/ git-svn-id: http://skia.googlecode.com/svn/trunk@4545 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp index 736be93..3a3d638 100644 --- a/src/gpu/gl/GrGpuGL_program.cpp +++ b/src/gpu/gl/GrGpuGL_program.cpp
@@ -493,8 +493,7 @@ GrIRect* rect = NULL; GrIRect clipBounds; - if (drawState.isClipState() && - fClip.hasConservativeBounds()) { + if (drawState.isClipState()) { fClip.getConservativeBounds().roundOut(&clipBounds); rect = &clipBounds; }