From ce2f70d30094cad87606f480a317328d60595bdc Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 15:09:13 +0100 Subject: fix(headless): add missing Effect include and gpu_get_surface stub Co-Authored-By: Claude Sonnet 4.5 --- src/gpu/headless_gpu.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gpu') diff --git a/src/gpu/headless_gpu.cc b/src/gpu/headless_gpu.cc index 172a916..c4de577 100644 --- a/src/gpu/headless_gpu.cc +++ b/src/gpu/headless_gpu.cc @@ -4,6 +4,7 @@ #if defined(DEMO_HEADLESS) #include "gpu.h" +#include "gpu/effect.h" #include "platform/stub_types.h" #include @@ -73,6 +74,10 @@ const GpuContext* gpu_get_context() { return &ctx; } +WGPUSurface gpu_get_surface() { + return nullptr; +} + #if !defined(STRIP_ALL) void gpu_simulate_until(float time, float bpm) { (void)time; -- cgit v1.2.3