PortableVertexFormat: use AttributeFormat for normal attribute format

This commit is contained in:
degasus
2014-01-24 15:16:52 +01:00
parent 210f4f3e55
commit b38ef39ab7
4 changed files with 12 additions and 25 deletions

View File

@ -86,11 +86,8 @@ struct PortableVertexDeclaration
int stride;
AttributeFormat position;
AttributeFormat normals[3];
int num_normals;
int normal_offset[3];
VarType normal_gl_type;
int normal_gl_size;
VarType color_gl_type; // always GL_UNSIGNED_BYTE
int color_offset[2];
VarType texcoord_gl_type[8];