mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Further ChromeOS support: Detect removable media mounted through ChromeOS
This commit is contained in:
@@ -256,11 +256,13 @@ bool OpenGLManager::init_gl()
|
||||
}
|
||||
|
||||
if (valid_version) {
|
||||
#ifdef __linux__
|
||||
if (s_gl_info.get_renderer() == "virgl")
|
||||
// Disable multi-sampling with virgl (VirtualGL) on Linux.
|
||||
// Namely, on ChromeOS virgl flips red/blue channels at least on some computers with multi-sampling enabled.
|
||||
// It seems it is sufficient to disable multi-sampling after the OpenGL context is created.
|
||||
s_multisample = EMultisampleState::Disabled;
|
||||
#endif // __linux__
|
||||
// load shaders
|
||||
auto [result, error] = m_shaders_manager.init();
|
||||
if (!result) {
|
||||
|
||||
Reference in New Issue
Block a user