ENH: disable MSAA for picking

Change-Id: I44b8dc1ec89d20d57a92a7b6c6a390eee603b6d9
This commit is contained in:
lane.wei
2023-07-07 17:29:08 +08:00
committed by Lane.Wei
parent 535db60e70
commit b62e3f5114
+2
View File
@@ -5696,6 +5696,8 @@ void GLCanvas3D::render_thumbnail_framebuffer(ThumbnailData& thumbnail_data, uns
return; return;
bool multisample = OpenGLManager::can_multisample(); bool multisample = OpenGLManager::can_multisample();
if (for_picking)
multisample = false;
//if (!multisample) //if (!multisample)
// glsafe(::glEnable(GL_MULTISAMPLE)); // glsafe(::glEnable(GL_MULTISAMPLE));