Skip to content

Commit

Permalink
ref: gl: disable TGA flip for detail textures, GoldSrc ignores it, so…
Browse files Browse the repository at this point in the history
… we will too
  • Loading branch information
a1batross committed Oct 26, 2023
1 parent b0a79df commit 34d7664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ref/gl/gl_rmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 34d7664

Please sign in to comment.