mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Hack to hide debug cubes in Super Mario Sunshine
... while not breaking other games.
This commit is contained in:
parent
e62610e6bc
commit
c583cac568
11 changed files with 34 additions and 34 deletions
|
@ -214,10 +214,7 @@ ShaderCode GenerateVertexShaderCode(APIType api_type, const ShaderHostConfig& ho
|
|||
}
|
||||
else
|
||||
{
|
||||
// The default alpha channel depends on the number of components in the vertex format.
|
||||
out.Write(
|
||||
"vertex_color_{0} = float4(1.0, 1.0, 1.0, float((color_chan_alpha >> {0}) & 1u));\n",
|
||||
color);
|
||||
out.Write("vertex_color_{0} = missing_color_value;\n", color);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue