mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fix build on Linux and MAC
This commit is contained in:
parent
d11548cbf9
commit
9e06a5e8d6
3 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
#if ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
enum class EFramebufferType : unsigned char
|
||||
{
|
||||
None,
|
||||
Unknown,
|
||||
Arb,
|
||||
Ext
|
||||
};
|
||||
|
@ -182,7 +182,7 @@ public:
|
|||
static bool are_compressed_textures_supported() { return s_compressed_textures_supported; }
|
||||
#if ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
static bool can_multisample() { return s_multisample == EMultisampleState::Enabled; }
|
||||
static bool are_framebuffers_supported() { return (s_framebuffers_type != EFramebufferType::None); }
|
||||
static bool are_framebuffers_supported() { return (s_framebuffers_type != EFramebufferType::Unknown); }
|
||||
#else
|
||||
static bool can_multisample() { return s_multisample == MS_Enabled; }
|
||||
static bool are_framebuffers_supported() { return (s_framebuffers_type != FB_None); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue