summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2024-12-17 10:31:27 -0600
committerGitHub <noreply@github.com>2024-12-17 17:31:27 +0100
commite2c78c00e50a0835c3830c8a0cd82049dc5700b8 (patch)
tree7ac17c752f1569e60a63e5356e199de6968cbb0e /src/render/OpenGL.cpp
parentbd7092a9feb39275a9eb1426046a46671e0fe580 (diff)
internal: remove dead code (#8748)
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r--src/render/OpenGL.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index 307fa975..9511123c 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -2142,13 +2142,6 @@ void CHyprOpenGLImpl::renderTextureWithBlur(SP<CTexture> tex, CBox* pBox, float
scissor((CBox*)nullptr);
}
-void pushVert2D(float x, float y, float* arr, int& counter, CBox* box) {
- // 0-1 space god damnit
- arr[counter * 2 + 0] = x / box->width;
- arr[counter * 2 + 1] = y / box->height;
- counter++;
-}
-
void CHyprOpenGLImpl::renderBorder(CBox* box, const CGradientValueData& grad, int round, int borderSize, float a, int outerRound) {
RASSERT((box->width > 0 && box->height > 0), "Tried to render rect with width/height < 0!");
RASSERT(m_RenderData.pMonitor, "Tried to render rect without begin()!");