mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +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
|
* @ingroup comp_main
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "comp_layer_renderer.h"
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#include "util/u_misc.h"
|
#include "util/u_misc.h"
|
||||||
#include "math/m_api.h"
|
#include "math/m_api.h"
|
||||||
|
|
||||||
|
#include "comp_layer_renderer.h"
|
||||||
|
|
||||||
#include "shaders/quad.frag.h"
|
#include "shaders/quad.frag.h"
|
||||||
#include "shaders/quad.vert.h"
|
#include "shaders/quad.vert.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
|
||||||
struct comp_layer_vertex
|
struct comp_layer_vertex
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue