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:
parent
81c77ee8ab
commit
8edb4a5259
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
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);
|
len = GL_LoadTexture32 (name, image_width, image_height, (unsigned*)data, mipmap, alpha);
|
||||||
BZ_Free(data);
|
BZ_Free(data);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue