From 7e96cbf7da0ffac6947b2a8f1885eb4057af03a0 Mon Sep 17 00:00:00 2001 From: hifihedgehog <16614343+hifihedgehog@users.noreply.github.com> Date: Wed, 30 Nov 2022 15:54:36 -0500 Subject: [PATCH] Fixes #740 Removing check for local or Remote FX virtualized RDP session. The checks below this line already verify if proper OpenGL support is present. --- src/BambuStudio_app_msvc.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/BambuStudio_app_msvc.cpp b/src/BambuStudio_app_msvc.cpp index 41fee0901..9aa386bfe 100644 --- a/src/BambuStudio_app_msvc.cpp +++ b/src/BambuStudio_app_msvc.cpp @@ -250,9 +250,6 @@ int wmain(int argc, wchar_t **argv) bool load_mesa = // Forced from the command line. force_mesa || - // Running over a rempote desktop, and the RemoteFX is not enabled, therefore Windows will only provide SW OpenGL 1.1 context. - // In that case, use Mesa. - ::GetSystemMetrics(SM_REMOTESESSION) || // Try to load the default OpenGL driver and test its context version. ! opengl_version_check.load_opengl_dll() || ! opengl_version_check.is_version_greater_or_equal_to(2, 0); #endif /* SLIC3R_GUI */