mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
c/main: Include <math.h> in comp_layer_renderer.c
This commit is contained in:
parent
ace4d0e825
commit
77c2b9cb5d
1
doc/changes/compositor/mr.358.md
Normal file
1
doc/changes/compositor/mr.358.md
Normal file
|
@ -0,0 +1 @@
|
|||
main: Include `<math.h>` in layers renderer for missing `tanf` function.
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue