From 6f88633ef50c479d4ced472a8759f478a06ace5f Mon Sep 17 00:00:00 2001 From: Raikuha <65867276+Raikuha@users.noreply.github.com> Date: Tue, 5 Nov 2024 02:08:19 -0300 Subject: [PATCH] Update TachiyomiImageDecoder.kt --- .../java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt b/app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt index 57a2eea36..a99dad86f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/coil/TachiyomiImageDecoder.kt @@ -50,7 +50,7 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti decoder.recycle() check(bitmap != null) { "Failed to decode image" } - + if ( options.bitmapConfig == Bitmap.Config.HARDWARE && maxOf(bitmap.width, bitmap.height) <= GLUtil.maxTextureSize