Browse Source

ref: gl: disable TGA flip for detail textures, GoldSrc ignores it, so we will too

pull/2/head
Alibek Omarov 8 months ago
parent
commit
34d7664342
  1. 2
      ref/gl/gl_rmisc.c

2
ref/gl/gl_rmisc.c

@ -85,7 +85,7 @@ static void R_ParseDetailTextures( const char *filename ) @@ -85,7 +85,7 @@ static void R_ParseDetailTextures( const char *filename )
if( Q_stricmp( tex->name, texname ))
continue;
tex->dt_texturenum = GL_LoadTexture( detail_path, NULL, 0, TF_FORCE_COLOR );
tex->dt_texturenum = GL_LoadTexture( detail_path, NULL, 0, TF_FORCE_COLOR|TF_NOFLIP_TGA );
// texture is loaded
if( tex->dt_texturenum )

Loading…
Cancel
Save