diff options
author | vaxerski <[email protected]> | 2022-04-14 16:43:29 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-04-14 16:43:29 +0200 |
commit | 75af34da96b80a3d228a25e8c75ba1137df9e058 (patch) | |
tree | e280c5cff2ee24b15141413a18d3cbd693ef8869 /src/hyprerror | |
parent | 158af1eb090dbae7650e99878942363651c216e3 (diff) | |
download | Hyprland-75af34da96b80a3d228a25e8c75ba1137df9e058.tar.gz Hyprland-75af34da96b80a3d228a25e8c75ba1137df9e058.zip |
added basic damage tracking
Diffstat (limited to 'src/hyprerror')
-rw-r--r-- | src/hyprerror/HyprError.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp index f02260d0..a26ad4c3 100644 --- a/src/hyprerror/HyprError.cpp +++ b/src/hyprerror/HyprError.cpp @@ -101,12 +101,9 @@ void CHyprError::draw() { if (g_pHyprOpenGL->m_RenderData.pMonitor != PMONITOR) return; // wrong mon - const auto TRANSFORM = wlr_output_transform_invert(WL_OUTPUT_TRANSFORM_NORMAL); - float matrix[9]; wlr_box windowBox = {0, 0, PMONITOR->vecSize.x, PMONITOR->vecSize.y}; - wlr_matrix_project_box(matrix, &windowBox, TRANSFORM, 0, PMONITOR->output->transform_matrix); - g_pHyprOpenGL->renderTexture(m_tTexture, matrix, 255.f, 0); + g_pHyprOpenGL->renderTexture(m_tTexture, &windowBox, 255.f, 0); } void CHyprError::destroy() { |