mirror of
https://github.com/mihonapp/mihon.git
synced 2025-01-15 12:43:11 +01:00
Update TachiyomiImageDecoder.kt
This commit is contained in:
parent
541a29099e
commit
6f88633ef5
@ -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…
x
Reference in New Issue
Block a user