mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
- Applied Spotless fixes
This commit is contained in:
parent
c9706f4b50
commit
2370e1cb42
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
|
||||||
maxOf(bitmap.width, bitmap.height) <= GLUtil.maxTextureSize
|
maxOf(bitmap.width, bitmap.height) <= GLUtil.maxTextureSize
|
||||||
) {
|
) {
|
||||||
if (
|
if (
|
||||||
!fallbackForLongStrips || bitmap.width < dstWidth && bitmap.height*1.1 <= GLUtil.maxTextureSize
|
!fallbackForLongStrips || bitmap.width < dstWidth && bitmap.height * 1.1 <= GLUtil.maxTextureSize
|
||||||
) {
|
) {
|
||||||
val hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false)
|
val hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false)
|
||||||
if (hwBitmap != null) {
|
if (hwBitmap != null) {
|
||||||
|
|
Loading…
Reference in a new issue