mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
PortableVertexFormat: use AttributeFormat for normal attribute format
This commit is contained in:
parent
210f4f3e55
commit
b38ef39ab7
4 changed files with 12 additions and 25 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue