Removing check for local or Remote FX virtualized RDP session. The checks below this line already verify if proper OpenGL support is present.
This commit is contained in:
hifihedgehog 2022-11-30 15:54:36 -05:00 committed by Lane.Wei
parent 51e8788167
commit 7e96cbf7da
1 changed files with 0 additions and 3 deletions

View File

@ -250,9 +250,6 @@ int wmain(int argc, wchar_t **argv)
bool load_mesa = bool load_mesa =
// Forced from the command line. // Forced from the command line.
force_mesa || 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. // 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); ! opengl_version_check.load_opengl_dll() || ! opengl_version_check.is_version_greater_or_equal_to(2, 0);
#endif /* SLIC3R_GUI */ #endif /* SLIC3R_GUI */