Fix clampmapped images being always treated as sRGB.
This commit is contained in:
1 parent
fb6b08bdd6
commit
e6e0d47099
1 file changed
+1
-1
@@ -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] )
|
||||
|
||||
Reference in new issue
Block a user