glgsg: Fix error message if vtx_normal is declred as float4 in Cg
This commit is contained in:
parent
5fe83f4286
commit
d1e8554fde
|
|
@ -166,7 +166,7 @@ CLP(CgShaderContext)(CLP(GraphicsStateGuardian) *glgsg, Shader *s) : ShaderConte
|
|||
if (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;
|
||||
case 3: // gl_Color
|
||||
|
|
|
|||
Loading…
Reference in New Issue