// =======================================================================
OpenGl_CappingPlaneResource::OpenGl_CappingPlaneResource (const Handle(Graphic3d_ClipPlane)& thePlane)
: myOrientation (OpenGl_IdentityMatrix),
- myAspect (NULL),
- myPlaneRoot (thePlane),
- myEquationMod (0),
- myAspectMod (0)
+ myAspect (NULL),
+ myPlaneRoot (thePlane),
+ myEquationMod ((unsigned int )-1),
+ myAspectMod ((unsigned int )-1)
{}
// =======================================================================
void OpenGl_CappingPlaneResource::Release (const OpenGl_Context* theContext)
{
OpenGl_Element::Destroy (theContext, myAspect);
- myEquationMod = 0;
- myAspectMod = 0;
+ myEquationMod = (unsigned int )-1;
+ myAspectMod = (unsigned int )-1;
}
// =======================================================================