summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.h
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2011-04-22 16:42:10 -0700
committer Chet Haase <chet@google.com> 2011-04-22 16:42:10 -0700
commit6cfdf4538049e4b96f50d8c0fe3119664420cc34 (patch)
tree766190868e274776121ec8b3d41669d223d9c78e /libs/hwui/ProgramCache.h
parentb86a6ea41dadae6ee1915cdb9406c51193e97555 (diff)
Fix bitfield bug with vertex shader selection
Change-Id: I8bd3005f363afb52e6624806efb3e04c4a56ee18
Diffstat (limited to 'libs/hwui/ProgramCache.h')
-rw-r--r--libs/hwui/ProgramCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/ProgramCache.h b/libs/hwui/ProgramCache.h
index cead75bcae2c..9a7a2d201277 100644
--- a/libs/hwui/ProgramCache.h
+++ b/libs/hwui/ProgramCache.h
@@ -57,7 +57,7 @@ namespace uirenderer {
#define PROGRAM_KEY_COLOR_BLEND 0x80
#define PROGRAM_KEY_BITMAP_NPOT 0x100
#define PROGRAM_KEY_SWAP_SRC_DST 0x2000
-#define PROGRAM_KEY_VERTEX_WIDTH 0x4000
+#define PROGRAM_KEY_VERTEX_WIDTH (1 << 37)
#define PROGRAM_KEY_BITMAP_WRAPS_MASK 0x600
#define PROGRAM_KEY_BITMAP_WRAPT_MASK 0x1800