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