1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-16 10:08:36 +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 : // purpose :
// ======================================================================= // =======================================================================
void D3DHost_View::SetWindow (const Handle(Aspect_Window)& theWindow, void D3DHost_View::SetWindow (const Handle(Aspect_Window)& theWindow,
const Aspect_RenderingContext theContext, const Aspect_RenderingContext theContext)
const Aspect_GraphicCallbackProc& theDisplayCB,
const Standard_Address theClientData)
{ {
if (!myD3dWglFbo.IsNull()) if (!myD3dWglFbo.IsNull())
{ {
@ -108,7 +106,7 @@ void D3DHost_View::SetWindow (const Handle(Aspect_Window)& theWindow,
myD3dDevice = NULL; myD3dDevice = NULL;
} }
OpenGl_View::SetWindow (theWindow, theContext, theDisplayCB, theClientData); OpenGl_View::SetWindow (theWindow, theContext);
if (!myWindow.IsNull()) if (!myWindow.IsNull())
{ {

View File

@ -47,9 +47,7 @@ public:
//! invoked at the end of the OCC graphic traversal and just before the swap of buffers. //! 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. //! @param theClientData [in] the client data for the callback.
Standard_EXPORT virtual void SetWindow (const Handle(Aspect_Window)& theWindow, Standard_EXPORT virtual void SetWindow (const Handle(Aspect_Window)& theWindow,
const Aspect_RenderingContext theContext, const Aspect_RenderingContext theContext) Standard_OVERRIDE;
const Aspect_GraphicCallbackProc& theDisplayCB,
const Standard_Address theClientData) Standard_OVERRIDE;
//! Resizes the window. //! Resizes the window.
Standard_EXPORT virtual void Resized() Standard_OVERRIDE; Standard_EXPORT virtual void Resized() Standard_OVERRIDE;

View File

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