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
diff --git a/gpu/src/GrGpuGLShaders2.cpp b/gpu/src/GrGpuGLShaders2.cpp
index 0a15be1..2e41d56 100644
--- a/gpu/src/GrGpuGLShaders2.cpp
+++ b/gpu/src/GrGpuGLShaders2.cpp
@@ -97,7 +97,7 @@
kIdentityMatrix_OptFlagBit = 0x2,
};
int fOptFlags : 8;
- bool fEnabled;
+ bool fEnabled : 8;
enum Modulation {
kColor_Modulation,
kAlpha_Modulation,