diff options
author | SmileTheory <SmileTheory@gmail.com> | 2013-03-07 14:23:28 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-03-19 16:41:17 +0000 |
commit | 1a9c268251db66d7cd72791f5e5467ec40fb8eb1 (patch) | |
tree | 1fea55a0084ee8e063b397eda8e6f3ab9799b8dc /src | |
parent | 181284654dd4de6f69ecde1deec3df3ce2d5cb78 (diff) |
Fix clampmapped images being always treated as sRGB.
Diffstat (limited to 'src')
-rw-r--r-- | src/renderergl2/tr_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_shader.c b/src/renderergl2/tr_shader.c index c7c91396..90869b47 100644 --- a/src/renderergl2/tr_shader.c +++ b/src/renderergl2/tr_shader.c @@ -694,7 +694,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] ) |