1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0032567: Coding Rules - rename Graphic3d_TypeOfShadingModel values to include full enumeration name

This commit is contained in:
kgv
2021-09-13 22:19:54 +03:00
committed by smoskvin
parent e2421df543
commit 13b36bb14f
37 changed files with 159 additions and 153 deletions

View File

@@ -86,7 +86,7 @@ void OpenGl_Structure::renderBoundingBox (const Handle(OpenGl_Workspace)& theWor
OpenGl_Vec3 (aMin.x(), aMin.y(), aMax.z())
};
aCtx->ShaderManager()->BindLineProgram (Handle(OpenGl_TextureSet)(), Aspect_TOL_SOLID, Graphic3d_TOSM_UNLIT, Graphic3d_AlphaMode_Opaque, false, Handle(OpenGl_ShaderProgram)());
aCtx->ShaderManager()->BindLineProgram (Handle(OpenGl_TextureSet)(), Aspect_TOL_SOLID, Graphic3d_TypeOfShadingModel_Unlit, Graphic3d_AlphaMode_Opaque, false, Handle(OpenGl_ShaderProgram)());
aCtx->SetColor4fv (theWorkspace->InteriorColor());
aCtx->core11fwd->glDisable (GL_LIGHTING);
aCtx->core11ffp->glEnableClientState (GL_VERTEX_ARRAY);