From efee74a7404495dbda70205824d6e9fc923ccdae Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 30 Nov 2023 10:21:48 +0000 Subject: [PATCH] hyprtrails: chase hyprland fixes #53 --- hyprtrails/trail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprtrails/trail.cpp b/hyprtrails/trail.cpp index ea94b95..131cee2 100644 --- a/hyprtrails/trail.cpp +++ b/hyprtrails/trail.cpp @@ -117,7 +117,7 @@ void CTrail::draw(CMonitor* pMonitor, float a, const Vector2D& offset) { float matrix[9]; wlr_matrix_project_box(matrix, monbox.pWlr(), wlr_output_transform_invert(WL_OUTPUT_TRANSFORM_NORMAL), 0, - g_pHyprOpenGL->m_RenderData.pMonitor->output->transform_matrix); // TODO: write own, don't use WLR here + g_pHyprOpenGL->m_RenderData.pMonitor->projMatrix.data()); // TODO: write own, don't use WLR here float glMatrix[9]; wlr_matrix_multiply(glMatrix, g_pHyprOpenGL->m_RenderData.projection, matrix);