1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add max() to Span.

Remove `<algorithm>` include from `rendering_device_commons.h`, using `Span` instead.
This commit is contained in:
Lukas Tenbrink
2025-10-07 01:47:17 +02:00
parent c01c7b800d
commit 1fa332cad4
4 changed files with 17 additions and 3 deletions

View File

@@ -33,8 +33,6 @@
#include "core/object/object.h"
#include "core/variant/type_info.h"
#include <algorithm>
#define STEPIFY(m_number, m_alignment) ((((m_number) + ((m_alignment) - 1)) / (m_alignment)) * (m_alignment))
// This may one day be used in Godot for interoperability between C arrays, Vector and LocalVector.