mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
NativeVertexFormat: swap unsigned / signed formats to match GX order
This commit is contained in:
@ -37,7 +37,7 @@ GLVertexFormat::~GLVertexFormat()
|
||||
inline GLuint VarToGL(VarType t)
|
||||
{
|
||||
static const GLuint lookup[5] = {
|
||||
GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_FLOAT
|
||||
GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_FLOAT
|
||||
};
|
||||
return lookup[t];
|
||||
}
|
||||
|
Reference in New Issue
Block a user