mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Warning fixes/suppressions(aui), assorted code cleanup, d3d vertex shader cache expiration interval increased.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4165 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -110,8 +110,7 @@ void VertexShaderCache::SetShader(u32 components)
|
||||
PanicAlert("Failed to compile Vertex Shader:\n\n%s", code);
|
||||
}
|
||||
|
||||
Renderer::SetFVF(NULL);
|
||||
//D3D::dev->SetVertexShader(shader);
|
||||
D3D::dev->SetFVF(NULL);
|
||||
}
|
||||
|
||||
void VertexShaderCache::Cleanup()
|
||||
@ -119,7 +118,7 @@ void VertexShaderCache::Cleanup()
|
||||
for (VSCache::iterator iter = vshaders.begin(); iter != vshaders.end();)
|
||||
{
|
||||
VSCacheEntry &entry = iter->second;
|
||||
if (entry.frameCount < frameCount - 30)
|
||||
if (entry.frameCount < frameCount - 1400)
|
||||
{
|
||||
entry.Destroy();
|
||||
iter = vshaders.erase(iter);
|
||||
|
Reference in New Issue
Block a user