fix: Should be gt not gte

This commit is contained in:
Ahmad Ansori Palembani 2024-05-25 14:34:19 +07:00
parent ff0f46d6a3
commit af7e08b668
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -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
}
}