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.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user