From e4294241cd6ee295bac10f9c7b1b92d8a7dc14aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 26 Apr 2026 21:07:39 -0700 Subject: [PATCH] Renamed bx::uint32_min to bx::min. (#116) --- src/image.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/image.cpp b/src/image.cpp index 0d6a8ca..50f3940 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -1043,7 +1043,7 @@ namespace bimg void imageCopy(void* _dst, uint32_t _height, uint32_t _srcPitch, uint32_t _depth, const void* _src, uint32_t _dstPitch) { - const uint32_t pitch = bx::uint32_min(_srcPitch, _dstPitch); + const uint32_t pitch = bx::min(_srcPitch, _dstPitch); const uint8_t* src = (uint8_t*)_src; uint8_t* dst = (uint8_t*)_dst; @@ -5022,7 +5022,7 @@ namespace bimg case TextureFormat::BGRA8: { const uint32_t srcPitch = _width * 4; - const uint32_t size = bx::uint32_min(srcPitch, _dstPitch); + const uint32_t size = bx::min(srcPitch, _dstPitch); bx::memCopy(_dst, _dstPitch, _src, srcPitch, size, _height); } break; @@ -5051,7 +5051,7 @@ namespace bimg case TextureFormat::RGBA8: { const uint32_t srcPitch = _width * 4; - const uint32_t size = bx::uint32_min(srcPitch, _dstPitch); + const uint32_t size = bx::min(srcPitch, _dstPitch); bx::memCopy(_dst, _dstPitch, _src, srcPitch, size, _height); } break;