From 77c2b9cb5db02ae1db757d749633226e21de840d Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 29 May 2020 23:31:25 +0100 Subject: [PATCH] c/main: Include in comp_layer_renderer.c --- doc/changes/compositor/mr.358.md | 1 + src/xrt/compositor/main/comp_layer_renderer.c | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 doc/changes/compositor/mr.358.md diff --git a/doc/changes/compositor/mr.358.md b/doc/changes/compositor/mr.358.md new file mode 100644 index 000000000..e6d99ecff --- /dev/null +++ b/doc/changes/compositor/mr.358.md @@ -0,0 +1 @@ +main: Include `` in layers renderer for missing `tanf` function. diff --git a/src/xrt/compositor/main/comp_layer_renderer.c b/src/xrt/compositor/main/comp_layer_renderer.c index 0475a1ead..5abf110df 100644 --- a/src/xrt/compositor/main/comp_layer_renderer.c +++ b/src/xrt/compositor/main/comp_layer_renderer.c @@ -7,16 +7,17 @@ * @ingroup comp_main */ -#include "comp_layer_renderer.h" - -#include - #include "util/u_misc.h" #include "math/m_api.h" +#include "comp_layer_renderer.h" + #include "shaders/quad.frag.h" #include "shaders/quad.vert.h" +#include +#include + struct comp_layer_vertex {