diff options
author | 2010-12-22 22:13:51 +0000 | |
---|---|---|
committer | 2010-12-22 22:13:51 +0000 | |
commit | 88b019bc77af6bda452bb4a964aced616b9a5586 (patch) | |
tree | a95c71498d153c5d459f68fafa319b2d170cad62 /gpu/src/GrGpuGLShaders2.cpp | |
parent | ac10a2d039c5d52eed66e27cbbc503ab523c1cd5 (diff) |
Force bool StageDesc to be a byte so that our memcmp equality test will work. Fixes static assert failure in xcode release build.
git-svn-id: http://skia.googlecode.com/svn/trunk@650 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrGpuGLShaders2.cpp')
-rw-r--r-- | gpu/src/GrGpuGLShaders2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/src/GrGpuGLShaders2.cpp b/gpu/src/GrGpuGLShaders2.cpp index 0a15be1c40..2e41d56add 100644 --- a/gpu/src/GrGpuGLShaders2.cpp +++ b/gpu/src/GrGpuGLShaders2.cpp @@ -97,7 +97,7 @@ struct GrGpuGLShaders2::StageDesc { kIdentityMatrix_OptFlagBit = 0x2, }; int fOptFlags : 8; - bool fEnabled; + bool fEnabled : 8; enum Modulation { kColor_Modulation, kAlpha_Modulation, |