nv2a/psh: Fix default alpha for unbound texture samplers

This commit is contained in:
Erik Abair 2025-04-22 14:28:31 -07:00 committed by mborgerson
parent 1a6b858fe8
commit 89185e6937
1 changed files with 1 additions and 1 deletions

View File

@ -949,7 +949,7 @@ static MString* psh_convert(struct PixelShader *ps)
switch (ps->tex_modes[i]) {
case PS_TEXTUREMODES_NONE:
mstring_append_fmt(vars, "vec4 t%d = vec4(0.0); /* PS_TEXTUREMODES_NONE */\n",
mstring_append_fmt(vars, "vec4 t%d = vec4(0.0, 0.0, 0.0, 1.0); /* PS_TEXTUREMODES_NONE */\n",
i);
break;
case PS_TEXTUREMODES_PROJECT2D: {