mirror of
https://github.com/mihonapp/mihon.git
synced 2025-02-17 00:25:07 +00:00
Update TachiyomiImageDecoder.kt
This commit is contained in:
parent
541a29099e
commit
6f88633ef5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue