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

View file

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