mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
Samples update
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include <AIS_ListIteratorOfListOfInteractive.hxx>
|
||||
#include <Aspect_DisplayConnection.hxx>
|
||||
#include <Graphic3d.hxx>
|
||||
#include <Graphic3d_GraphicDriver.hxx>
|
||||
#include <OpenGl_GraphicDriver.hxx>
|
||||
|
||||
static Handle(Graphic3d_GraphicDriver) Viewer_aGraphicDriver;
|
||||
|
||||
@@ -25,7 +25,7 @@ Viewer::Viewer(QWidget* parent):QWidget(parent)
|
||||
if (Viewer_aGraphicDriver.IsNull())
|
||||
{
|
||||
Handle(Aspect_DisplayConnection) aDisplayConnection;
|
||||
Viewer_aGraphicDriver = Graphic3d::InitGraphicDriver (aDisplayConnection);
|
||||
Viewer_aGraphicDriver = new OpenGl_GraphicDriver (aDisplayConnection);
|
||||
}
|
||||
myGraphicDriver = Handle(OpenGl_GraphicDriver)::DownCast(Viewer_aGraphicDriver);
|
||||
}
|
||||
|
Reference in New Issue
Block a user