aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-14 04:38:46 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-14 04:38:46 +0200
commite68fd8ebef3ae5e7dd1fbd31a1138519837f95f2 (patch)
tree893f1ae0602c3aca630a3328c0f121c356c76fd8 /src
parentb8a2cc5720efaae1c3bb9acbce0fdf7753e51ca5 (diff)
Readd mipmap
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index e34f991..8c3f5b6 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -1807,7 +1807,7 @@ namespace QuickMedia {
if(image.loadFromFile(image_path.data)) {
if(image_texture.loadFromImage(image)) {
image_texture.setSmooth(true);
- //image_texture.generateMipmap();
+ image_texture.generateMipmap();
return LoadImageResult::OK;
} else {
error_message = std::string("Failed to load image for page ") + std::to_string(image_index + 1);