summaryrefslogtreecommitdiff
path: root/render/fx_renderer/matrix.c
diff options
context:
space:
mode:
authorErik Reider <[email protected]>2024-01-06 21:39:17 +0100
committerErik Reider <[email protected]>2024-01-07 22:18:30 +0100
commit3bdb35c3d635efcfc1d02da3ed13824409819c9a (patch)
tree48d400adcb982449e14c2fc13817035247d564c4 /render/fx_renderer/matrix.c
parent3e6108472c3d578175ea6fb685e1919b3585606f (diff)
Moved fx_renderer creation func into scenefx dir
Diffstat (limited to 'render/fx_renderer/matrix.c')
-rw-r--r--render/fx_renderer/matrix.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/render/fx_renderer/matrix.c b/render/fx_renderer/matrix.c
index 8cdce37..8f0fe15 100644
--- a/render/fx_renderer/matrix.c
+++ b/render/fx_renderer/matrix.c
@@ -2,7 +2,6 @@
#include <string.h>
#include <wlr/types/wlr_output.h>
-#include "config.h"
#include "render/fx_renderer/matrix.h"
static const float transforms[][9] = {
@@ -48,8 +47,6 @@ static const float transforms[][9] = {
},
};
-#if !HAVE_WLROOTS_SUBPROJECT
-
void matrix_projection(float mat[static 9], int width, int height,
enum wl_output_transform transform) {
memset(mat, 0, sizeof(*mat) * 9);
@@ -71,5 +68,3 @@ void matrix_projection(float mat[static 9], int width, int height,
// Identity
mat[8] = 1.0f;
}
-
-#endif /* ifndef HAVE_WLROOTS_SUBPROJECT */