mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-19 16:13:21 +02:00
fix: move to CHyprColor like hl (#42)
* fix: building on latest hyprland version Signed-off-by: rooot <hey@rooot.gay> * chore: update commit pins for hyprpm --------- Signed-off-by: rooot <hey@rooot.gay> Co-authored-by: Virt <41426325+VirtCode@users.noreply.github.com>
This commit is contained in:
parent
81f4b964f9
commit
37c770dfb0
3 changed files with 9 additions and 5 deletions
|
@ -288,9 +288,9 @@ SP<Aquamarine::IBuffer> CDynamicCursors::renderHardware(CPointerManager* pointer
|
|||
g_pHyprOpenGL->beginSimple(state->monitor.lock(), damage, RBO);
|
||||
|
||||
if (**PHW_DEBUG)
|
||||
g_pHyprOpenGL->clear(CColor{rand() / float(RAND_MAX), rand() / float(RAND_MAX), rand() / float(RAND_MAX), 1.F});
|
||||
g_pHyprOpenGL->clear(CHyprColor{rand() / float(RAND_MAX), rand() / float(RAND_MAX), rand() / float(RAND_MAX), 1.F});
|
||||
else
|
||||
g_pHyprOpenGL->clear(CColor{0.F, 0.F, 0.F, 0.F});
|
||||
g_pHyprOpenGL->clear(CHyprColor{0.F, 0.F, 0.F, 0.F});
|
||||
|
||||
|
||||
// the box should start in the middle portion, rotate by our calculated amount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue