mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
fix an error message in d3d plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2618 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -100,9 +100,11 @@ void VertexShaderCache::SetShader(u32 components)
|
||||
|
||||
INCSTAT(stats.numVertexShadersCreated);
|
||||
SETSTAT(stats.numVertexShadersAlive, (int)vshaders.size());
|
||||
} else if(g_Config.bShowShaderErrors)
|
||||
}
|
||||
else if (g_Config.bShowShaderErrors)
|
||||
{
|
||||
PanicAlert("Failed to compile Vertex Shader:\n\n%s", code);
|
||||
|
||||
}
|
||||
D3D::dev->SetFVF(NULL);
|
||||
D3D::dev->SetVertexShader(shader);
|
||||
}
|
||||
|
Reference in New Issue
Block a user