Fix mask from change r1155. (I blame the mistake on skipping afternoon coffee :))
git-svn-id: http://skia.googlecode.com/svn/trunk@1161 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrGpuGLShaders2.cpp b/gpu/src/GrGpuGLShaders2.cpp
index 94b941f..dbd50bf 100644
--- a/gpu/src/GrGpuGLShaders2.cpp
+++ b/gpu/src/GrGpuGLShaders2.cpp
@@ -250,7 +250,7 @@
}
static inline uint32_t swapouter(uint32_t x) {
- return (x & 0x00ff00) | (x << 24) | (x >> 24);
+ return (x & 0x00ffff00) | (x << 24) | (x >> 24);
}
GrGpuGLShaders2::ProgramCache::HashKey::HashKey(const ProgramDesc& desc) {