mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
PortableVertexFormat: use AttributeFormat for normal attribute format
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user