aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-25 12:30:34 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-25 12:30:34 +0000
commit3eee8fbe0f280bc1dea59dc0b0ebd8021b51137f (patch)
tree8f17c5e09851ab2e1f3385a852ce3607e027020f
parentf49b429ceface4f75f5f96570ea5a8b94896529d (diff)
Fix misplaced return in GrDrawState::stageDisabled().
Original patch by guanqun.lu@gmail.com http://codereview.appspot.com/6338058/ git-svn-id: http://skia.googlecode.com/svn/trunk@4315 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/gpu/GrDrawState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index acfca8c1e1..a56baec799 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -221,8 +221,8 @@ public:
NULL != fSamplerStates[i].getCustomStage()) {
return false;
}
- return true;
}
+ return true;
}
/**
* Release all the textures and custom stages referred to by this