aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index 4976a1f..078c4fc 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -104,8 +104,10 @@ namespace QuickMedia {
thumbnail_load_thread = std::thread([this, result, url]() {
std::string texture_data;
if(program->get_current_plugin()->download_to_string(url, texture_data) == DownloadResult::OK) {
- if(result->loadFromMemory(texture_data.data(), texture_data.size()))
- result->generateMipmap();
+ if(result->loadFromMemory(texture_data.data(), texture_data.size())) {
+ //result->generateMipmap();
+ result->setSmooth(true);
+ }
}
loading_thumbnail = false;
});