From fa71462d865abec3c4ac17736eab236d7541f2bb Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Thu, 26 May 2022 02:13:43 +0200 Subject: [PATCH] c/render: Move COMP_MAX_LAYERS to render_interfaces.h --- src/xrt/compositor/main/comp_compositor.h | 2 -- src/xrt/compositor/render/render_interface.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xrt/compositor/main/comp_compositor.h b/src/xrt/compositor/main/comp_compositor.h index f3f567adb..03bea3ba9 100644 --- a/src/xrt/compositor/main/comp_compositor.h +++ b/src/xrt/compositor/main/comp_compositor.h @@ -35,8 +35,6 @@ struct comp_window_peek; extern "C" { #endif -#define COMP_MAX_LAYERS 16 - /* * * Structs diff --git a/src/xrt/compositor/render/render_interface.h b/src/xrt/compositor/render/render_interface.h index 9892849c9..789239934 100644 --- a/src/xrt/compositor/render/render_interface.h +++ b/src/xrt/compositor/render/render_interface.h @@ -10,6 +10,7 @@ #pragma once +#define COMP_MAX_LAYERS 16 #include "xrt/xrt_compiler.h" #include "xrt/xrt_defines.h"