mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0026004: Visualization - fix misprint in OpenGl_ShaderManager::prepareStdProgramPhong()
This commit is contained in:
parent
e135a1559a
commit
7e859dff1b
@ -1483,10 +1483,10 @@ Standard_Boolean OpenGl_ShaderManager::prepareStdProgramPhong (Handle(OpenGl_Sha
|
||||
}
|
||||
if ((theBits & OpenGl_PO_VertColor) != 0)
|
||||
{
|
||||
aSrcVertExtraOut += EOL"THE_SHADER_OUT vec4 VertColor;";
|
||||
aSrcVertExtraMain += EOL" VertColor = occVertColor;";
|
||||
aSrcFragGetColor = EOL"THE_SHADER_IN vec4 VertColor;"
|
||||
EOL"vec4 getVertColor(void) { return VertColor; }";
|
||||
aSrcVertExtraOut += EOL"THE_SHADER_OUT vec4 VertColor;";
|
||||
aSrcVertExtraMain += EOL" VertColor = occVertColor;";
|
||||
aSrcFragGetVertColor = EOL"THE_SHADER_IN vec4 VertColor;"
|
||||
EOL"vec4 getVertColor(void) { return VertColor; }";
|
||||
}
|
||||
|
||||
if ((theBits & OpenGl_PO_Point) != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user