mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
When the legacy OpenGL 1.2 is enforced, suppress anti aliasing as well.
Let's hope it will be a valid workaround for the reoccuring buggy Intel HD Graphics driver issue.
This commit is contained in:
parent
74cb74f1fc
commit
673e98bc83
2 changed files with 2 additions and 1 deletions
|
@ -108,6 +108,7 @@ sub new {
|
|||
# We can only enable multi sample anti aliasing wih wxWidgets 3.0.3 and with a hacked Wx::GLCanvas,
|
||||
# which exports some new WX_GL_XXX constants, namely WX_GL_SAMPLE_BUFFERS and WX_GL_SAMPLES.
|
||||
my $can_multisample =
|
||||
! wxTheApp->{app_config}->get('use_legacy_opengl') &&
|
||||
Wx::wxVERSION >= 3.000003 &&
|
||||
defined Wx::GLCanvas->can('WX_GL_SAMPLE_BUFFERS') &&
|
||||
defined Wx::GLCanvas->can('WX_GL_SAMPLES');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue