diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-20 13:01:29 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-20 13:01:29 +0000 |
commit | 9dbdb4068f137343e8c7cbff9245544b24aa1776 (patch) | |
tree | 8166aa04d1fcbcc77ebc2e9aab170ac7d4b11fea /gpu/src | |
parent | 3334c3a1fa05b5ee0cab0f2f1ec7b19939737337 (diff) |
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
Diffstat (limited to 'gpu/src')
-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 94b941fc09..dbd50bfc90 100644 --- a/gpu/src/GrGpuGLShaders2.cpp +++ b/gpu/src/GrGpuGLShaders2.cpp @@ -250,7 +250,7 @@ static inline uint32_t roh(uint32_t x) { } 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) { |