diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 15:09:13 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 15:09:13 +0100 |
| commit | ce2f70d30094cad87606f480a317328d60595bdc (patch) | |
| tree | af52a8e594933aaf65cc43981ed9e961f5434f23 | |
| parent | a8b1525ca86819757b06b51fedf6aff222cf52bb (diff) | |
fix(headless): add missing Effect include and gpu_get_surface stub
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
| -rw-r--r-- | src/gpu/headless_gpu.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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 <stdio.h> @@ -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; |
