mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Fixed build
This commit is contained in:
parent
33a482a6be
commit
dbef0b4eb5
4
test/external/gli/core/operation.inl
vendored
4
test/external/gli/core/operation.inl
vendored
@ -123,8 +123,8 @@ namespace gli
|
|||||||
glm::byte * DstData = DstMipmap.data();
|
glm::byte * DstData = DstMipmap.data();
|
||||||
glm::byte const * const SrcData = SrcMipmap.data();
|
glm::byte const * const SrcData = SrcMipmap.data();
|
||||||
|
|
||||||
std::size_t SizeX = std::min(std::size_t(SrcSize.x + SrcPosition.x), std::size_t(DstMipmap.dimensions().x + DstPosition.x));
|
std::size_t SizeX = glm::min(std::size_t(SrcSize.x + SrcPosition.x), std::size_t(DstMipmap.dimensions().x + DstPosition.x));
|
||||||
std::size_t SizeY = std::min(std::size_t(SrcSize.y + SrcPosition.y), std::size_t(DstMipmap.dimensions().y + DstPosition.y));
|
std::size_t SizeY = glm::min(std::size_t(SrcSize.y + SrcPosition.y), std::size_t(DstMipmap.dimensions().y + DstPosition.y));
|
||||||
|
|
||||||
for(std::size_t j = 0; j < SizeY; ++j)
|
for(std::size_t j = 0; j < SizeY; ++j)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user