Got FPS label rendering on vita

This commit is contained in:
2023-03-21 08:48:58 -07:00
parent 9f9a83cf44
commit 3a790e57c9
4 changed files with 14 additions and 73 deletions

View File

@ -75,7 +75,7 @@ void SimpleTexturedShaderProgram::compile() {
") {\n"
"float4 o_Color;\n"
"if(u_HasTexture) {\n"
"o_Color = float4(tex2D(u_Text, o_TextCoord).xyz, 1.0);\n"
"o_Color = mul(tex2D(u_Text, o_TextCoord), u_Color);\n"
"} else {\n"
"o_Color = u_Color;\n"
"}\n"