PortableVertexFormat: use AttributeFormat for color attribute format

This commit is contained in:
degasus
2014-01-24 15:23:50 +01:00
parent b38ef39ab7
commit ef2d6e7d53
4 changed files with 12 additions and 16 deletions

View File

@ -87,9 +87,8 @@ struct PortableVertexDeclaration
AttributeFormat position;
AttributeFormat normals[3];
AttributeFormat colors[2];
VarType color_gl_type; // always GL_UNSIGNED_BYTE
int color_offset[2];
VarType texcoord_gl_type[8];
//int texcoord_gl_size[8];
int texcoord_offset[8];