commit | c2c9b97e603fbccf04d29a550bf73709340ffe7d | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 03 13:17:22 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 03 13:17:22 2011 +0000 |
tree | b62bbb575ea669334535ada642bc6fc00350af72 | |
parent | 5ebc70023f4ec82f514c06d64ed8beb4a0d21d38 [diff] [blame] |
Fix nits Review URL: http://codereview.appspot.com/5155043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2393 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrGLProgram.h b/gpu/src/GrGLProgram.h index ced3e61..a79f877 100644 --- a/gpu/src/GrGLProgram.h +++ b/gpu/src/GrGLProgram.h
@@ -125,7 +125,7 @@ uint8_t fKernelWidth; inline bool isEnabled() const { - return 0 != (fOptFlags & kIsEnabled_OptFlagBit); + return SkToBool(fOptFlags & kIsEnabled_OptFlagBit); } inline void setEnabled(bool newValue) { if (newValue) {