X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSurfaceViewerDialog.cxx;h=da0381a4521c918c375c9fd027b74c1026d12c67;hb=6aa95a9aeaacfa57a9a17a7aedf7798c5334079e;hp=e8a6acb231dc06bc6f01cd790a60f85b0b201aa9;hpb=ff4e821006c760607319ef7cc58dd9f4f17a7098;p=clitk.git diff --git a/vv/vvSurfaceViewerDialog.cxx b/vv/vvSurfaceViewerDialog.cxx index e8a6acb..da0381a 100644 --- a/vv/vvSurfaceViewerDialog.cxx +++ b/vv/vvSurfaceViewerDialog.cxx @@ -35,6 +35,10 @@ #include #include +#ifdef Q_OS_OSX +# include "vvOSXHelper.h" +#endif + //---------------------------------------------------------------------------- class vvManagerCallback : public vtkCommand { @@ -76,6 +80,10 @@ vvSurfaceViewerDialog::vvSurfaceViewerDialog(QWidget * parent, Qt::WindowFlags f mCurrentTime = 0; connect(loadButton,SIGNAL(clicked()),this,SLOT(LoadSurface())); + +#ifdef Q_OS_OSX + disableGLHiDPI(renderWidget->winId()); +#endif } vvSurfaceViewerDialog::~vvSurfaceViewerDialog()