1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0026734: Visualization, D3DHost_View - drop outdated UserDraw interfaces

Correction of test case for issue CR26765
This commit is contained in:
kgv 2015-10-10 22:18:47 +03:00 committed by bugmaster
parent 6ce0df1e78
commit 7aa74f3028
3 changed files with 4 additions and 9 deletions

View File

@ -93,9 +93,7 @@ D3DHost_View::~D3DHost_View()
// purpose :
// =======================================================================
void D3DHost_View::SetWindow (const Handle(Aspect_Window)& theWindow,
const Aspect_RenderingContext theContext,
const Aspect_GraphicCallbackProc& theDisplayCB,
const Standard_Address theClientData)
const Aspect_RenderingContext theContext)
{
if (!myD3dWglFbo.IsNull())
{
@ -108,7 +106,7 @@ void D3DHost_View::SetWindow (const Handle(Aspect_Window)& theWindow,
myD3dDevice = NULL;
}
OpenGl_View::SetWindow (theWindow, theContext, theDisplayCB, theClientData);
OpenGl_View::SetWindow (theWindow, theContext);
if (!myWindow.IsNull())
{

View File

@ -46,10 +46,8 @@ public:
//! @param theDisplayCB [in] the display callback function. If is not a NULL value, then the callback will be
//! invoked at the end of the OCC graphic traversal and just before the swap of buffers.
//! @param theClientData [in] the client data for the callback.
Standard_EXPORT virtual void SetWindow (const Handle(Aspect_Window)& theWindow,
const Aspect_RenderingContext theContext,
const Aspect_GraphicCallbackProc& theDisplayCB,
const Standard_Address theClientData) Standard_OVERRIDE;
Standard_EXPORT virtual void SetWindow (const Handle(Aspect_Window)& theWindow,
const Aspect_RenderingContext theContext) Standard_OVERRIDE;
//! Resizes the window.
Standard_EXPORT virtual void Resized() Standard_OVERRIDE;

View File

@ -2,7 +2,6 @@
# cylinder plane unstable
puts "TODO OCC26020 Linux: Error: bopcheck failed"
puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
# planar face
plane pln_f1 0 -875 -1.4432899320127035e-014 0 1 1.1102230246251565e-016