Fix clampmapped images being always treated as sRGB.

This commit is contained in:
SmileTheory 2013-03-07 14:23:28 -08:00
parent fb6b08bdd6
commit e6e0d47099

View file

@ -693,7 +693,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
else if ( !Q_stricmp( token, "clampmap" ) )
{
imgType_t type = IMGTYPE_COLORALPHA;
imgFlags_t flags = IMGFLAG_CLAMPTOEDGE | IMGFLAG_SRGB;
imgFlags_t flags = IMGFLAG_CLAMPTOEDGE;
token = COM_ParseExt( text, qfalse );
if ( !token[0] )