glgsg: Fix error message if vtx_normal is declred as float4 in Cg

This commit is contained in:
rdb 2020-11-21 14:19:52 +01:00
parent 5fe83f4286
commit d1e8554fde

View File

@ -166,7 +166,7 @@ CLP(CgShaderContext)(CLP(GraphicsStateGuardian) *glgsg, Shader *s) : ShaderConte
if (cgGetParameterSemantic(p)) { if (cgGetParameterSemantic(p)) {
GLCAT.error(false) << " : " << cgGetParameterSemantic(p); GLCAT.error(false) << " : " << cgGetParameterSemantic(p);
} }
GLCAT.error(false) << " should be declared as float4, not float3!\n"; GLCAT.error(false) << " should be declared as float3, not float4!\n";
} }
break; break;
case 3: // gl_Color case 3: // gl_Color