mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00: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:
parent
dd7eba0bb9
commit
e97bc516e6
15 changed files with 68 additions and 82 deletions
|
@ -98,7 +98,6 @@ void PixelShaderCache::SetShader(bool dstAlpha)
|
|||
PixelShaders[uid] = newentry;
|
||||
last_entry = &PixelShaders[uid];
|
||||
|
||||
Renderer::SetFVF(NULL);
|
||||
D3D::dev->SetPixelShader(shader);
|
||||
last_shader = shader;
|
||||
|
||||
|
@ -119,7 +118,7 @@ void PixelShaderCache::Cleanup()
|
|||
while (iter != PixelShaders.end())
|
||||
{
|
||||
PSCacheEntry &entry = iter->second;
|
||||
if (entry.frameCount < frameCount - 400)
|
||||
if (entry.frameCount < frameCount - 1400)
|
||||
{
|
||||
entry.Destroy();
|
||||
iter = PixelShaders.erase(iter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue