Update TachiyomiImageDecoder.kt

This commit is contained in:
Raikuha 2024-11-05 02:08:19 -03:00 committed by GitHub
parent 541a29099e
commit 6f88633ef5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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