Remove more obsolete code

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6153 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Nolan Check
2010-08-30 04:05:06 +00:00
parent 014e87157c
commit 6a695eff49
7 changed files with 5 additions and 34 deletions

View File

@ -274,8 +274,6 @@ TextureCache::TCacheEntry *TextureCache::Load(int stage, u32 address, int width,
{
expandedWidth = width;
expandedHeight = height;
entry.scaleX = (float) width / oldWidth;
entry.scaleY = (float) height / oldHeight;
}
}

View File

@ -42,8 +42,6 @@ public:
int w, h, fmt,MipLevels;
int Scaledw, Scaledh;
float scaleX, scaleY; // Hires texutres need this
bool isRenderTarget;
bool isDynamic;// mofified from cpu
bool isNonPow2;
@ -58,8 +56,6 @@ public:
addr = 0;
size_in_bytes = 0;
frameCount = 0;
scaleX = 1.0f;
scaleY = 1.0f;
isNonPow2 = true;
w = 0;
h = 0;

View File

@ -260,8 +260,6 @@ void Flush()
if (tentry) {
PixelShaderManager::SetTexDims(i, tentry->w, tentry->h, 0, 0);
if (tentry->scaleX != 1.0f || tentry->scaleY != 1.0f)
PixelShaderManager::SetCustomTexScale(i, tentry->scaleX, tentry->scaleY);
}
else
{