1
0
Fork 0
forked from fte/fteqw

Hmm. Whoops.. that'll help norms a bit better...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@257 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-30 22:09:22 +00:00
parent 81c77ee8ab
commit 8edb4a5259

View file

@ -1577,7 +1577,8 @@ int Mod_LoadHiResTexture(char *name, qboolean mipmap, qboolean alpha, qboolean c
{
if ((data = Read32BitImageFile(buf, com_filesize, &image_width, &image_height)))
{
BoostGamma(data, image_width, image_height);
if (colouradjust)
BoostGamma(data, image_width, image_height);
len = GL_LoadTexture32 (name, image_width, image_height, (unsigned*)data, mipmap, alpha);
BZ_Free(data);