mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-20 00:23:22 +02:00
Merge da91feb6e7
into 261bc1668f
This commit is contained in:
commit
7a19b0aef9
1 changed files with 0 additions and 7 deletions
|
@ -55,13 +55,6 @@ This renders a texture with damage but rotates the texture around a given hotspo
|
||||||
void renderCursorTextureInternalWithDamage(SP<CTexture> tex, CBox* pBox, const CRegion& damage, float alpha, SP<CSyncTimeline> waitTimeline, uint64_t waitPoint, Vector2D hotspot, bool nearest, float stretchAngle, Vector2D stretch) {
|
void renderCursorTextureInternalWithDamage(SP<CTexture> tex, CBox* pBox, const CRegion& damage, float alpha, SP<CSyncTimeline> waitTimeline, uint64_t waitPoint, Vector2D hotspot, bool nearest, float stretchAngle, Vector2D stretch) {
|
||||||
TRACY_GPU_ZONE("RenderDynamicCursor");
|
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);
|
alpha = std::clamp(alpha, 0.f, 1.f);
|
||||||
|
|
||||||
if (damage.empty())
|
if (damage.empty())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue