Get 2501 closer to "working".

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2502 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-03-01 10:53:23 +00:00
parent 37d5360399
commit f597a66b8d
7 changed files with 73 additions and 51 deletions

View File

@ -34,13 +34,9 @@ class PixelShaderCache
struct PSCacheEntry
{
LPDIRECT3DPIXELSHADER9 shader;
int frameCount;
PSCacheEntry()
{
shader = 0;
frameCount = 0;
}
PSCacheEntry() : shader(NULL), frameCount(0) {}
void Destroy()
{
if (shader)