X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FOpenGl%2FOpenGl_GraphicDriver.cxx;h=7c82cd8b6e8b8d3d585610d996da8b1c7d5210cb;hb=5322131bd16361612ddf27e59deee870b4bc7fa2;hpb=f1a5afa25c08967afeaccc25bc0bbdeab5f2455c diff --git a/src/OpenGl/OpenGl_GraphicDriver.cxx b/src/OpenGl/OpenGl_GraphicDriver.cxx index a4125db8f4..7c82cd8b6e 100755 --- a/src/OpenGl/OpenGl_GraphicDriver.cxx +++ b/src/OpenGl/OpenGl_GraphicDriver.cxx @@ -193,7 +193,7 @@ Standard_Boolean OpenGl_GraphicDriver::GetOpenClDeviceInfo (const Graphic3d_CVie { return Standard_False; } - + return reinterpret_cast (theCView.ptrView)->WS->GetOpenClDeviceInfo (theInfo); } @@ -347,7 +347,7 @@ void OpenGl_GraphicDriver::SetStencilTestOptions (const Graphic3d_CGroup& theCGr { OpenGl_StencilTest* aStencilTest = new OpenGl_StencilTest(); aStencilTest->SetOptions (theIsEnabled); - ((OpenGl_Group* )theCGroup.ptrGroup)->AddElement (TelNil, aStencilTest); + ((OpenGl_Group* )theCGroup.ptrGroup)->AddElement (aStencilTest); } // ======================================================================= @@ -375,7 +375,7 @@ void OpenGl_GraphicDriver::Text (const Graphic3d_CGroup& theCGro aParams.VAlign = theVta; const OpenGl_Vec3 aPoint (thePoint.X(), thePoint.Y(), thePoint.Z()); OpenGl_Text* aText = new OpenGl_Text (theText, aPoint, aParams); - ((OpenGl_Group* )theCGroup.ptrGroup)->AddElement (TelText, aText); + ((OpenGl_Group* )theCGroup.ptrGroup)->AddElement (aText); } // ======================================================================= @@ -589,5 +589,5 @@ void OpenGl_GraphicDriver::SetFlippingOptions (const Graphic3d_CGroup& theCGroup { OpenGl_Flipper* aFlipper = new OpenGl_Flipper (theRefPlane); aFlipper->SetOptions (theIsEnabled); - ((OpenGl_Group* )theCGroup.ptrGroup)->AddElement (TelNil, aFlipper); + ((OpenGl_Group* )theCGroup.ptrGroup)->AddElement (aFlipper); }