OGL/VertexManager: Do not check if g_nativeVertexFmt is zero

The variable is already dereferenced both before and after this
check which means that if this variable would ever be zero it would
have crashed dolphin already.
This commit is contained in:
Jens Nyberg 2014-03-18 19:48:00 +01:00
parent 80421156b6
commit ae260e55e4
1 changed files with 1 additions and 2 deletions

View File

@ -158,8 +158,7 @@ void VertexManager::vFlush(bool useDstAlpha)
ProgramShaderCache::UploadConstants();
// setup the pointers
if (g_nativeVertexFmt)
g_nativeVertexFmt->SetupVertexPointers();
g_nativeVertexFmt->SetupVertexPointers();
GL_REPORT_ERRORD();
Draw(stride);