mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Should be gt not gte
This commit is contained in:
parent
ff0f46d6a3
commit
af7e08b668
1 changed files with 1 additions and 1 deletions
|
@ -794,6 +794,6 @@ object ImageUtil {
|
|||
|
||||
fun isMaxTextureSizeExceeded(imageStream: InputStream): Boolean {
|
||||
val opts = extractImageOptions(imageStream)
|
||||
return opts.outWidth >= GLUtil.maxTextureSize || opts.outHeight >= GLUtil.maxTextureSize
|
||||
return opts.outWidth > GLUtil.maxTextureSize || opts.outHeight > GLUtil.maxTextureSize
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue