mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
fix si->implicitImagePath extension presence vagueness added in c3437b7833
closes #220
This commit is contained in:
@@ -373,7 +373,7 @@ const shaderInfo_t *CustomShader( const shaderInfo_t *si, const char *find, char
|
||||
"\t}\n"
|
||||
"\tq3map_styleMarker\n"
|
||||
"\t{\n"
|
||||
"\t\tmap %s\n"
|
||||
"\t\tmap %s.tga\n"
|
||||
"\t\tblendFunc GL_DST_COLOR GL_ZERO\n"
|
||||
"\t\trgbGen identity\n"
|
||||
"\t}\n"
|
||||
@@ -388,7 +388,7 @@ const shaderInfo_t *CustomShader( const shaderInfo_t *si, const char *find, char
|
||||
"{ // Q3Map2 defaulted (implicitMask)\n"
|
||||
"\tcull none\n"
|
||||
"\t{\n"
|
||||
"\t\tmap %s\n"
|
||||
"\t\tmap %s.tga\n"
|
||||
"\t\talphaFunc GE128\n"
|
||||
"\t\tdepthWrite\n"
|
||||
"\t}\n"
|
||||
@@ -399,7 +399,7 @@ const shaderInfo_t *CustomShader( const shaderInfo_t *si, const char *find, char
|
||||
"\t}\n"
|
||||
"\tq3map_styleMarker\n"
|
||||
"\t{\n"
|
||||
"\t\tmap %s\n"
|
||||
"\t\tmap %s.tga\n"
|
||||
"\t\tblendFunc GL_DST_COLOR GL_ZERO\n"
|
||||
"\t\tdepthFunc equal\n"
|
||||
"\t\trgbGen identity\n"
|
||||
@@ -416,7 +416,7 @@ const shaderInfo_t *CustomShader( const shaderInfo_t *si, const char *find, char
|
||||
"{ // Q3Map2 defaulted (implicitBlend)\n"
|
||||
"\tcull none\n"
|
||||
"\t{\n"
|
||||
"\t\tmap %s\n"
|
||||
"\t\tmap %s.tga\n"
|
||||
"\t\tblendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\n"
|
||||
"\t}\n"
|
||||
"\t{\n"
|
||||
@@ -998,7 +998,7 @@ static void ParseShaderFile( const char *filename ){
|
||||
si->implicitImagePath = si->shader;
|
||||
}
|
||||
else{
|
||||
si->implicitImagePath = token;
|
||||
si->implicitImagePath( PathExtensionless( token ) );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1009,7 +1009,7 @@ static void ParseShaderFile( const char *filename ){
|
||||
si->implicitImagePath = si->shader;
|
||||
}
|
||||
else{
|
||||
si->implicitImagePath = token;
|
||||
si->implicitImagePath( PathExtensionless( token ) );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1020,7 +1020,7 @@ static void ParseShaderFile( const char *filename ){
|
||||
si->implicitImagePath = si->shader;
|
||||
}
|
||||
else{
|
||||
si->implicitImagePath = token;
|
||||
si->implicitImagePath( PathExtensionless( token ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user