Browse Source

utils: mdldec: STUDIO_NF_SMOOTH texture flag means "smooth" texrendermode.

pull/2/head
Andrey Akhmichin 4 years ago committed by Alibek Omarov
parent
commit
1a59389261
  1. 2
      utils/mdldec/qc.c

2
utils/mdldec/qc.c

@ -217,7 +217,7 @@ static void WriteTextureRenderMode( FILE *fp ) @@ -217,7 +217,7 @@ static void WriteTextureRenderMode( FILE *fp )
if( texture->flags & STUDIO_NF_SMOOTH )
{
fprintf( fp, "$texrendermode \"%s\" \"alpha\" \n", texture->name ); // sven-coop extension
fprintf( fp, "$texrendermode \"%s\" \"nosmooth\" \n", texture->name ); // xash3d extension
fprintf( fp, "$texrendermode \"%s\" \"smooth\" \n", texture->name ); // xash3d extension
}
if( texture->flags & STUDIO_NF_ADDITIVE )

Loading…
Cancel
Save