1
0
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:
kgv
2013-11-01 12:49:21 +04:00
committed by bugmaster
parent 618d8e6135
commit 65993a9537
57 changed files with 212 additions and 190 deletions

View File

@@ -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);
}