From f8d15c88926d65d0777b73a7bd1b11792b054397 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sat, 2 Mar 2024 21:34:16 +0000 Subject: [PATCH] wayland_backend: Fix build --- src/wayland_backend.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wayland_backend.cpp b/src/wayland_backend.cpp index 29dd2e5a5d..2ee2b7ba24 100644 --- a/src/wayland_backend.cpp +++ b/src/wayland_backend.cpp @@ -42,9 +42,10 @@ static LogScope xdg_log( "xdg_backend" ); #define WAYLAND_NULL() [] ( void *pData, Args... args ) { } #define WAYLAND_USERDATA_TO_THIS(type, name) [] ( void *pData, Args... args ) { type *pThing = (type *)pData; pThing->name( std::forward(args)... ); } +extern gamescope::ConVar cv_hdr_enabled; + namespace gamescope { - extern ConVar cv_hdr_enabled; class CWaylandConnector; class CWaylandPlane;