commit | 9d12f5c11b56ef51ba2c95db721ae7e5bab27023 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Sep 29 18:08:18 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Sep 29 18:08:18 2011 +0000 |
tree | 61cce930350f9ca04a8beb8dea581033baf63b3b | |
parent | 6f92f18b6266098a74cd90ff7b88328acc439d17 [diff] [blame] |
Fix some VS2010 warnings Review URL: http://codereview.appspot.com/5155043 git-svn-id: http://skia.googlecode.com/svn/trunk@2380 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrGLProgram.h b/gpu/src/GrGLProgram.h index c186ba1..ced3e61 100644 --- a/gpu/src/GrGLProgram.h +++ b/gpu/src/GrGLProgram.h
@@ -125,7 +125,7 @@ uint8_t fKernelWidth; inline bool isEnabled() const { - return fOptFlags & kIsEnabled_OptFlagBit; + return 0 != (fOptFlags & kIsEnabled_OptFlagBit); } inline void setEnabled(bool newValue) { if (newValue) {