summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-16 15:09:13 +0100
committerskal <pascal.massimino@gmail.com>2026-02-16 15:09:13 +0100
commitce2f70d30094cad87606f480a317328d60595bdc (patch)
treeaf52a8e594933aaf65cc43981ed9e961f5434f23 /src
parenta8b1525ca86819757b06b51fedf6aff222cf52bb (diff)
fix(headless): add missing Effect include and gpu_get_surface stub
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src')
-rw-r--r--src/gpu/headless_gpu.cc5
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;