Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2019-09-04 10:47:00 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-09-04 10:47:00 +0300
commit6bbc97f24d48e8513427388a5602480d73c4b2bd (patch)
tree7688a22c4b2f33ef9418ee1dbe181d2d76066c0b /src/slic3r/GUI/GLCanvas3DManager.cpp
parent6befe7099bc0619a26c79f665393cf40041a9649 (diff)
Removed a bunch of compile warnings
Diffstat (limited to 'src/slic3r/GUI/GLCanvas3DManager.cpp')
-rw-r--r--src/slic3r/GUI/GLCanvas3DManager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GLCanvas3DManager.cpp b/src/slic3r/GUI/GLCanvas3DManager.cpp
index 59a34d8cd..5fbefcc6e 100644
--- a/src/slic3r/GUI/GLCanvas3DManager.cpp
+++ b/src/slic3r/GUI/GLCanvas3DManager.cpp
@@ -359,9 +359,7 @@ bool GLCanvas3DManager::init(GLCanvas3D& canvas)
void GLCanvas3DManager::detect_multisample(int* attribList)
{
int wxVersion = wxMAJOR_VERSION * 10000 + wxMINOR_VERSION * 100 + wxRELEASE_NUMBER;
- const AppConfig* app_config = GUI::get_app_config();
bool enable_multisample = wxVersion >= 30003;
-
s_multisample = (enable_multisample && wxGLCanvas::IsDisplaySupported(attribList)) ? MS_Enabled : MS_Disabled;
// Alternative method: it was working on previous version of wxWidgets but not with the latest, at least on Windows
// s_multisample = enable_multisample && wxGLCanvas::IsExtensionSupported("WGL_ARB_multisample");