diff --git a/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp b/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp index bff77663bf..c1474d3b4e 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp +++ b/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp @@ -205,6 +205,8 @@ DlgCAMSimulator* DlgCAMSimulator::GetInstance() { if (mInstance == nullptr) { QSurfaceFormat format; + format.setVersion(4, 1); // Request OpenGL 4.1 - for MacOS + format.setProfile(QSurfaceFormat::CoreProfile); // Use the core profile = for MacOS format.setSamples(16); format.setSwapInterval(2); format.setDepthBufferSize(24);