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

This commit is contained in:
Jakob Bornecrantz 2020-05-29 23:31:25 +01:00
parent ace4d0e825
commit 77c2b9cb5d
2 changed files with 6 additions and 4 deletions

View file

@ -0,0 +1 @@
main: Include `<math.h>` in layers renderer for missing `tanf` function.

View file

@ -7,16 +7,17 @@
* @ingroup comp_main
*/
#include "comp_layer_renderer.h"
#include <stdio.h>
#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 <stdio.h>
#include <math.h>
struct comp_layer_vertex
{