diff options
author | Jason Sams <rjsams@android.com> | 2010-01-06 11:57:52 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-01-06 12:01:51 -0800 |
commit | a09a6e145b778861f7abee86ce17e59507ed221e (patch) | |
tree | 15221ba7d657a5a75ec3f6ae2804c1b79a07a969 /graphics | |
parent | 432bff01ec67533dbbb6ed27cb190c99e83ea226 (diff) | |
download | frameworks_base-a09a6e145b778861f7abee86ce17e59507ed221e.zip frameworks_base-a09a6e145b778861f7abee86ce17e59507ed221e.tar.gz frameworks_base-a09a6e145b778861f7abee86ce17e59507ed221e.tar.bz2 |
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/renderscript/Element.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/java/android/renderscript/Element.java b/graphics/java/android/renderscript/Element.java index 1324179..10ef05a 100644 --- a/graphics/java/android/renderscript/Element.java +++ b/graphics/java/android/renderscript/Element.java @@ -298,7 +298,8 @@ public class Element extends BaseObj { dk == DataKind.POSITION || dk == DataKind.TEXTURE || dk == DataKind.NORMAL || - dk == DataKind.POINT_SIZE)) { + dk == DataKind.POINT_SIZE || + dk == DataKind.USER)) { throw new IllegalArgumentException("Unsupported DataKind"); } |