Skip to content

mesa/main: Fix use of alloca() without #include "c99_alloca.h"

Jesse Natalie requested to merge jenatali/mesa:c99-alloca-fix into main

Fixes: c216f193 ("mesa: use alloca in search_resource_hash")

Apparently the Windows CRT defines alloca in malloc.h sometimes, but I see that when compiling for arm/arm64 it's not defined.

/cc @mareko

Merge request reports