NativeVertexFormat: swap unsigned / signed formats to match GX order

This commit is contained in:
degasus
2014-01-24 14:18:55 +01:00
parent 72cc6431e5
commit 02d1d8e6a0
3 changed files with 9 additions and 9 deletions

View File

@ -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];
}