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-06-02 12:01:51 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-06-02 12:01:51 +0300
commite6af0d3dc4f85e42437dc5fd18d6b1cb528db251 (patch)
tree5dd894203eeacdf90e45ed9ca10a87655f04b533 /src/slic3r/GUI/3DBed.hpp
parent545c013acd950b46698ed4c1b505015e517dbc30 (diff)
Temporary low-res texture shown while generating compressed data on the CPU
Diffstat (limited to 'src/slic3r/GUI/3DBed.hpp')
-rw-r--r--src/slic3r/GUI/3DBed.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slic3r/GUI/3DBed.hpp b/src/slic3r/GUI/3DBed.hpp
index e60cdf94e..054b746e5 100644
--- a/src/slic3r/GUI/3DBed.hpp
+++ b/src/slic3r/GUI/3DBed.hpp
@@ -91,6 +91,10 @@ private:
GeometryBuffer m_gridlines;
#if ENABLE_TEXTURES_FROM_SVG
mutable GLTexture m_texture;
+#if ENABLE_COMPRESSED_TEXTURES
+ // temporary texture shown until the main texture has still no levels compressed
+ mutable GLTexture m_temp_texture;
+#endif // ENABLE_COMPRESSED_TEXTURES
mutable Shader m_shader;
mutable unsigned int m_vbo_id;
#else