- inlined FHardwareTexture::GetTexDimension.

This commit is contained in:
Christoph Oelckers 2016-09-04 13:14:14 +02:00
commit 95bedac6ca
2 changed files with 6 additions and 13 deletions

View file

@ -64,18 +64,6 @@ extern int TexFormat[];
//===========================================================================
unsigned int FHardwareTexture::lastbound[FHardwareTexture::MAX_TEXTURES];
//===========================================================================
//
// STATIC - Gets the maximum size of hardware textures
//
//===========================================================================
int FHardwareTexture::GetTexDimension(int value)
{
if (value > gl.max_texturesize) return gl.max_texturesize;
return value;
}
//===========================================================================
//
// Quick'n dirty image rescaling.