mirror of https://github.com/DrBeef/ioq3quest.git
Fix clampmapped images being always treated as sRGB.
This commit is contained in:
parent
fb6b08bdd6
commit
e6e0d47099
|
@ -693,7 +693,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
|
||||||
else if ( !Q_stricmp( token, "clampmap" ) )
|
else if ( !Q_stricmp( token, "clampmap" ) )
|
||||||
{
|
{
|
||||||
imgType_t type = IMGTYPE_COLORALPHA;
|
imgType_t type = IMGTYPE_COLORALPHA;
|
||||||
imgFlags_t flags = IMGFLAG_CLAMPTOEDGE | IMGFLAG_SRGB;
|
imgFlags_t flags = IMGFLAG_CLAMPTOEDGE;
|
||||||
|
|
||||||
token = COM_ParseExt( text, qfalse );
|
token = COM_ParseExt( text, qfalse );
|
||||||
if ( !token[0] )
|
if ( !token[0] )
|
||||||
|
|
Loading…
Reference in New Issue