mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
Fix bugs with color buffer
This commit is contained in:
@@ -172,7 +172,9 @@ void Graphic3d_ArrayOfPrimitives::init (Graphic3d_TypeOfPrimitiveArray theType,
|
||||
anAttribs[aNbAttribs].Id = Graphic3d_TOA_COLOR;
|
||||
anAttribs[aNbAttribs].DataType = Graphic3d_TOD_VEC4UB;
|
||||
++aNbAttribs;
|
||||
|
||||
}
|
||||
if ((theArrayOptions & Graphic3d_ArrayFlags_VertexColorBack) != 0)
|
||||
{
|
||||
anAttribs[aNbAttribs].Id = Graphic3d_TOA_COLOR_BACK;
|
||||
anAttribs[aNbAttribs].DataType = Graphic3d_TOD_VEC4UB;
|
||||
++aNbAttribs;
|
||||
|
Reference in New Issue
Block a user