Just a little bit of cleanup in the gl plugin

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1263 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-11-23 00:12:44 +00:00
parent cf2c225b88
commit cb8c12591a
3 changed files with 67 additions and 124 deletions

View File

@ -70,7 +70,6 @@ inline GLuint VarToGL(VarType t)
{
static const GLuint lookup[5] = {GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_FLOAT};
return lookup[t];
return 0;
}
void NativeVertexFormat::Initialize(const PortableVertexDeclaration &vtx_decl)