Fix tonemap texture filtering (black screen) regression

This commit is contained in:
Magnus Norddahl 2016-11-28 02:32:57 +01:00
commit bea113a908
4 changed files with 21 additions and 17 deletions

View file

@ -374,6 +374,11 @@ unsigned int FHardwareTexture::Bind(int texunit, int translation, bool needmipma
return 0;
}
unsigned int FHardwareTexture::GetTextureHandle(int translation)
{
TranslatedTexture *pTex = GetTexID(translation);
return pTex->glTexID;
}
void FHardwareTexture::Unbind(int texunit)
{