Temporary low-res texture shown while generating compressed data on the CPU

This commit is contained in:
Enrico Turri 2019-06-02 11:01:51 +02:00
parent 545c013acd
commit e6af0d3dc4
4 changed files with 31 additions and 15 deletions

View file

@ -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