Fixed crashes on shader destruction on OSX.

This commit is contained in:
bubnikv 2016-12-14 15:09:12 +01:00
parent ae2e37b4bd
commit 79ff013ea7
2 changed files with 8 additions and 2 deletions

View file

@ -18,6 +18,9 @@
package Slic3r::GUI::GLShader;
use OpenGL(':all');
# Avoid cloning this class by the worker threads.
sub CLONE_SKIP { 1 }
# Shader constructor
sub new
{