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:
bubnikv 2017-12-12 20:47:36 +01:00
parent 74cb74f1fc
commit 673e98bc83
2 changed files with 2 additions and 1 deletions

View file

@ -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');