Fix opsque Cg shader

This commit is contained in:
twinaphex 2016-05-29 03:48:08 +02:00
parent 78b208c441
commit d39d925c1d
2 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,6 @@ static const char *stock_cg_gl_program = GLSL(
float4 main_fragment(input IN, vertex_data vert, uniform sampler2D s0 : TEXUNIT0) : COLOR
{
return vert.color * tex2D(s0, vert.tex)
return vert.color * tex2D(s0, vert.tex);
}
);

View File

@ -51,7 +51,7 @@ static const char *stock_xmb_simple = GLSL(
float4 color : COLOR;
};
output main_fragment(uniform input IN)
output main_fragment(uniform input IN)
{
output OUT;
OUT.color = float4(1.0, 1.0, 1.0, 0.05);