From 4d1cedaa0691ea3caccfcacae502abb3cd56eabc Mon Sep 17 00:00:00 2001 From: Shai Seger Date: Mon, 27 Jan 2025 18:41:49 +0200 Subject: [PATCH] [CAM Simulator] Add ifdef to fix OpenGL compatibility on linux. issue #18707 (#18746) * Add ifdef to fix compilation on linux. issue #18707 * remove multisample line altogether --- src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp b/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp index 74a5af01e0..0ffa463d67 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp +++ b/src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.cpp @@ -231,7 +231,6 @@ void DlgCAMSimulator::initialize() const qreal retinaScale = devicePixelRatio(); glViewport(0, 0, width() * retinaScale, height() * retinaScale); - glEnable(GL_MULTISAMPLE); } void DlgCAMSimulator::checkInitialization()