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/GLTexture.hpp
parent545c013acd950b46698ed4c1b505015e517dbc30 (diff)
Temporary low-res texture shown while generating compressed data on the CPU
Diffstat (limited to 'src/slic3r/GUI/GLTexture.hpp')
-rw-r--r--src/slic3r/GUI/GLTexture.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GLTexture.hpp b/src/slic3r/GUI/GLTexture.hpp
index f5cf13a45..ed2070a44 100644
--- a/src/slic3r/GUI/GLTexture.hpp
+++ b/src/slic3r/GUI/GLTexture.hpp
@@ -106,8 +106,8 @@ namespace GUI {
const std::string& get_source() const { return m_source; }
#if ENABLE_COMPRESSED_TEXTURES
- bool unsent_compressed_data_available() const;
- void send_compressed_data_to_gpu();
+ bool unsent_compressed_data_available() const { return m_compressor.unsent_compressed_data_available(); }
+ void send_compressed_data_to_gpu() { m_compressor.send_compressed_data_to_gpu(); }
#endif // ENABLE_COMPRESSED_TEXTURES
static void render_texture(unsigned int tex_id, float left, float right, float bottom, float top);