diff --git a/src/cursor.cpp b/src/cursor.cpp index 1ccefcb..80724a0 100644 --- a/src/cursor.cpp +++ b/src/cursor.cpp @@ -127,8 +127,6 @@ void CDynamicCursors::renderSoftware(CPointerManager* pointers, SP pMo CCursorPassElement::SRenderData data; data.tex = texture; data.box = box; - data.syncTimeline = pointers->currentCursorImage.waitTimeline; - data.syncPoint = pointers->currentCursorImage.waitPoint; data.hotspot = pointers->currentCursorImage.hotspot * state->monitor->scale * zoom; data.nearest = nearest; data.stretchAngle = resultShown.stretch.angle; @@ -265,7 +263,7 @@ SP CDynamicCursors::renderHardware(CPointerManager* pointer xbox.rot = resultShown.rotation; // use our custom draw function - renderCursorTextureInternalWithDamage(texture, &xbox, damage, 1.F, pointers->currentCursorImage.waitTimeline, pointers->currentCursorImage.waitPoint, pointers->currentCursorImage.hotspot * state->monitor->scale * zoom, zoom > 1 && **PNEAREST, resultShown.stretch.angle, resultShown.stretch.magnitude); + renderCursorTextureInternalWithDamage(texture, &xbox, damage, 1.F, pointers->currentCursorImage.hotspot * state->monitor->scale * zoom, zoom > 1 && **PNEAREST, resultShown.stretch.angle, resultShown.stretch.magnitude); g_pHyprOpenGL->end(); glFlush(); diff --git a/src/render/CursorPassElement.cpp b/src/render/CursorPassElement.cpp index e4292dc..1c2f74f 100644 --- a/src/render/CursorPassElement.cpp +++ b/src/render/CursorPassElement.cpp @@ -17,8 +17,6 @@ void CCursorPassElement::draw(const CRegion& damage) { &data.box, data.damage.empty() ? damage : data.damage, 1.F, - data.syncTimeline, - data.syncPoint, data.hotspot, data.nearest, data.stretchAngle, diff --git a/src/render/CursorPassElement.hpp b/src/render/CursorPassElement.hpp index a5d50a2..855037d 100644 --- a/src/render/CursorPassElement.hpp +++ b/src/render/CursorPassElement.hpp @@ -13,8 +13,6 @@ class CCursorPassElement : public IPassElement { SP tex; CBox box; CRegion damage; - SP syncTimeline; - int64_t syncPoint = 0; Vector2D hotspot; bool nearest; diff --git a/src/render/renderer.hpp b/src/render/renderer.hpp index d265d15..be60d6b 100644 --- a/src/render/renderer.hpp +++ b/src/render/renderer.hpp @@ -1,4 +1,4 @@ #include #include -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);