delete unused variables, rename some functions - minor stuff.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2339 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-02-21 13:53:26 +00:00
parent a1685984a0
commit 26f951d9d5
8 changed files with 89 additions and 102 deletions

View File

@ -551,7 +551,7 @@ void WriteCC8Encoder(char* p, const char* comp)
WRITE(p, "}\n");
}
char *GenerateEncodingShader(u32 format)
const char *GenerateEncodingShader(u32 format)
{
text[sizeof(text) - 1] = 0x7C; // canary
@ -653,8 +653,6 @@ void SetShaderParameters(u32 width, u32 height, u32 offsetX, u32 offsetY, float
SetPSConstant4f(C_COLORMATRIX, (float)blkW, (float)blkH, (float)samples, pixelStride);
SetPSConstant4f(C_COLORMATRIX + 1, (float)width, (float)(height - 1), (float)offsetX, (float)offsetY);
}
}
} // namespace