Fix linux build and a crash. hrm, how did it work before...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@146 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-08-07 19:20:51 +00:00
parent f46c64c02f
commit ac366022f4
8 changed files with 16 additions and 9 deletions

View File

@ -80,7 +80,7 @@ void TextureMngr::TCacheEntry::SetTextureParameters(TexMode0& newmode)
void TextureMngr::TCacheEntry::Destroy()
{
SAFE_RELEASE_TEX((GLuint)texture);
SAFE_RELEASE_TEX(texture);
}
void TextureMngr::Init()