Skip to content

aco: Fix build error with std::max on GCC 12

Timur Kristóf requested to merge Venemo/mesa:aco_fix_std_max into main

Fix the following compilation error:

aco_util.h:427: undefined reference to `aco::monotonic_buffer_resource::minimum_size'

This is because std::max takes its parameters by reference, and GCC is stupid.

Merge request reports