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

@ -56,6 +56,7 @@
#import "rendering_shader_container_metal.h"
#import <os/signpost.h>
#import <algorithm>
// We have to undefine these macros because they are defined in NSObjCRuntime.h.
#undef MIN