From e68fd8ebef3ae5e7dd1fbd31a1138519837f95f2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 14 Oct 2020 04:38:46 +0200 Subject: Readd mipmap --- src/QuickMedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3