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/GLTexture.cpp
parent6befe7099bc0619a26c79f665393cf40041a9649 (diff)
Removed a bunch of compile warnings
Diffstat (limited to 'src/slic3r/GUI/GLTexture.cpp')
-rw-r--r--src/slic3r/GUI/GLTexture.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slic3r/GUI/GLTexture.cpp b/src/slic3r/GUI/GLTexture.cpp
index 4fdf12489..55ca5f723 100644
--- a/src/slic3r/GUI/GLTexture.cpp
+++ b/src/slic3r/GUI/GLTexture.cpp
@@ -56,7 +56,7 @@ bool GLTexture::Compressor::unsent_compressed_data_available() const
{
if (m_levels.empty())
return false;
- // Querying the atomic m_num_levels_compressed value synchronizes processor caches, so that the dat of m_levels modified by the worker thread are accessible to the calling thread.
+ // Querying the atomic m_num_levels_compressed value synchronizes processor caches, so that the data of m_levels modified by the worker thread are accessible to the calling thread.
unsigned int num_compressed = m_num_levels_compressed;
for (unsigned int i = 0; i < num_compressed; ++ i)
if (! m_levels[i].sent_to_gpu && ! m_levels[i].compressed_data.empty())
@@ -89,8 +89,8 @@ void GLTexture::Compressor::send_compressed_data_to_gpu()
}
glsafe(::glBindTexture(GL_TEXTURE_2D, 0));
- if (num_compressed == (unsigned int)m_levels.size())
- // Finalize the worker thread, close it.
+ if (num_compressed == (int)m_levels.size())
+ // Finalize the worker thread, close it.
this->reset();
}