mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 14:55:06 +08:00
Enable the GLU tesselator on MSW if we have a recent OpenGL module
This commit is contained in:
parent
4848cb7606
commit
9dd228df01
@ -226,8 +226,9 @@ sub Render {
|
||||
}
|
||||
|
||||
my $tess;
|
||||
if (!&Wx::wxMSW) {
|
||||
# We can't use the GLU tesselator on MSW because of an upstream bug:
|
||||
if (!(&Wx::wxMSW && $OpenGL::VERSION < 0.6704)) {
|
||||
# We can't use the GLU tesselator on MSW with older OpenGL versions
|
||||
# because of an upstream bug:
|
||||
# http://sourceforge.net/p/pogl/bugs/16/
|
||||
$tess = gluNewTess();
|
||||
gluTessCallback($tess, GLU_TESS_BEGIN, 'DEFAULT');
|
||||
|
Loading…
x
Reference in New Issue
Block a user