mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
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)) {
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user