Fix issue with constant comparison raising warnings on MSVC for tautological comparison

This commit is contained in:
2026-10-03 22:36:24 +10:00
parent d85b66d1da
commit eb4e1c4d20
4 changed files with 28 additions and 24 deletions
+3 -3
View File
@@ -8645,9 +8645,9 @@ DN_API bool DN_RectContainsRect(DN_Rect a, DN_Rect b)
DN_API DN_Rect DN_RectExpand(DN_Rect a, DN_F32 amount)
{
DN_Rect result = a;
result.pos -= amount;
result.size += (amount * 2.f);
DN_Rect result = a;
result.pos -= amount;
result.size += (amount * 2.f);
return result;
}