From da91feb6e7fbe893ad02bd07e0637d08d2ee61aa Mon Sep 17 00:00:00 2001 From: myamusashi Date: Sun, 16 Mar 2025 07:46:34 +0700 Subject: [PATCH 1/2] Fix failed build https://github.com/hyprwm/Hyprland/commit/6ffde3646688cee448683f95a858fc1754c0c35a --- src/render/renderer.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/render/renderer.cpp b/src/render/renderer.cpp index 2389d30..5a02f9d 100644 --- a/src/render/renderer.cpp +++ b/src/render/renderer.cpp @@ -55,13 +55,6 @@ This renders a texture with damage but rotates the texture around a given hotspo void renderCursorTextureInternalWithDamage(SP tex, CBox* pBox, const CRegion& damage, float alpha, SP waitTimeline, uint64_t waitPoint, Vector2D hotspot, bool nearest, float stretchAngle, Vector2D stretch) { TRACY_GPU_ZONE("RenderDynamicCursor"); - if (waitTimeline != nullptr) { - if (!g_pHyprOpenGL->waitForTimelinePoint(waitTimeline, waitPoint)) { - Debug::log(ERR, "renderTextureInternalWithDamage: failed to wait for explicit sync point {}", waitPoint); - return; - } - } - alpha = std::clamp(alpha, 0.f, 1.f); if (damage.empty()) From 03e8cb17ed98554d09232ea8c301ffac21d14ec8 Mon Sep 17 00:00:00 2001 From: myamusashi Date: Sun, 16 Mar 2025 21:27:21 +0700 Subject: [PATCH 2/2] Fix failed build --- src/render/renderer.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/render/renderer.cpp b/src/render/renderer.cpp index 2389d30..cd4f78d 100644 --- a/src/render/renderer.cpp +++ b/src/render/renderer.cpp @@ -52,16 +52,9 @@ Mat3x3 projectCursorBox(CBox& box, eTransform transform, float rotation, const M /* This renders a texture with damage but rotates the texture around a given hotspot. */ -void renderCursorTextureInternalWithDamage(SP tex, CBox* pBox, const CRegion& damage, float alpha, SP waitTimeline, uint64_t waitPoint, Vector2D hotspot, bool nearest, float stretchAngle, Vector2D stretch) { +void renderCursorTextureInternalWithDamage(SP tex, CBox* pBox, const CRegion& damage, float alpha, Vector2D hotspot, bool nearest, float stretchAngle, Vector2D stretch) { TRACY_GPU_ZONE("RenderDynamicCursor"); - if (waitTimeline != nullptr) { - if (!g_pHyprOpenGL->waitForTimelinePoint(waitTimeline, waitPoint)) { - Debug::log(ERR, "renderTextureInternalWithDamage: failed to wait for explicit sync point {}", waitPoint); - return; - } - } - alpha = std::clamp(alpha, 0.f, 1.f); if (damage.empty())