mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Wrong variable name
This commit is contained in:
parent
01fcd7d122
commit
74168c0f1d
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ object ImageUtil {
|
||||||
isMaxTextureSizeExceeded(drawable.bitmap)
|
isMaxTextureSizeExceeded(drawable.bitmap)
|
||||||
|
|
||||||
fun isMaxTextureSizeExceeded(bitmap: Bitmap): Boolean =
|
fun isMaxTextureSizeExceeded(bitmap: Bitmap): Boolean =
|
||||||
isMaxTextureSizeExceeded(data.width, data.height)
|
isMaxTextureSizeExceeded(bitmap.width, bitmap.height)
|
||||||
|
|
||||||
private fun isMaxTextureSizeExceeded(width: Int, height: Int): Boolean {
|
private fun isMaxTextureSizeExceeded(width: Int, height: Int): Boolean {
|
||||||
if (minOf(width, height) <= 0) return false
|
if (minOf(width, height) <= 0) return false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue