Diff
1diff --git a/src/Hy3Node.cpp b/src/Hy3Node.cpp
2index d339853509097440d526ad7ab48690ce056805a7..ed2cb01df0275c6630c35ee8e3b5390cb541e96a 100644
3--- a/src/Hy3Node.cpp
4+++ b/src/Hy3Node.cpp
5@@ -397,7 +397,7 @@ void Hy3Node::recalcSizePosRecursive(bool no_animation) {
6 group.focused_child->setHidden(false);
7
8 auto box = CBox {tpos.x, tpos.y, tsize.x, tsize.y};
9- g_pHyprRenderer->damageBox(&box);
10+ g_pHyprRenderer->damageBox(box);
11 }
12
13 if (group.expand_focused == ExpandFocusType::Latch) {
14diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp
15index e173ed0f162d4ab6f6e8e16975d8ca050a17c204..c82186fdddda44c10e13c163a8591d50405cbac5 100644
16--- a/src/TabGroup.cpp
17+++ b/src/TabGroup.cpp
18@@ -348,7 +348,7 @@ void Hy3TabBarEntry::renderText(float scale, CBox& box, float opacity) {
19 glBlendFunc(GL_CONSTANT_COLOR, GL_ONE_MINUS_SRC_ALPHA);
20 glBlendColor(c.r, c.g, c.b, c.a);
21
22- g_pHyprOpenGL->renderTexture(this->texture, &texture_box, opacity);
23+ g_pHyprOpenGL->renderTexture(this->texture, texture_box, opacity);
24
25 glBlendColor(1, 1, 1, 1);
26 glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
27@@ -556,7 +556,7 @@ void damageBox(const Vector2D* position, const Vector2D* size) {
28 auto box = CBox {position->x, position->y, size->x, size->y};
29 // Either a rounding error or an issue below makes this necessary.
30 box.expand(1);
31- g_pHyprRenderer->damageBox(&box);
32+ g_pHyprRenderer->damageBox(box);
33 }
34
35 void Hy3TabGroup::tick() {
36@@ -714,7 +714,7 @@ void Hy3TabGroup::renderTabBar() {
37 window_box.scale(scale);
38
39 if (window_box.width > 0 && window_box.height > 0)
40- g_pHyprOpenGL->renderRect(&window_box, CHyprColor(0, 0, 0, 0), *window_rounding);
41+ g_pHyprOpenGL->renderRect(window_box, CHyprColor(0, 0, 0, 0), *window_rounding);
42 }
43
44 glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);