The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/main: Include <math.h> in comp_layer_renderer.c

+6 -4
+1
doc/changes/compositor/mr.358.md
··· 1 + main: Include `<math.h>` in layers renderer for missing `tanf` function.
+5 -4
src/xrt/compositor/main/comp_layer_renderer.c
··· 7 7 * @ingroup comp_main 8 8 */ 9 9 10 - #include "comp_layer_renderer.h" 11 - 12 - #include <stdio.h> 13 - 14 10 #include "util/u_misc.h" 15 11 #include "math/m_api.h" 16 12 13 + #include "comp_layer_renderer.h" 14 + 17 15 #include "shaders/quad.frag.h" 18 16 #include "shaders/quad.vert.h" 17 + 18 + #include <stdio.h> 19 + #include <math.h> 19 20 20 21 21 22 struct comp_layer_vertex