From e2c78c00e50a0835c3830c8a0cd82049dc5700b8 Mon Sep 17 00:00:00 2001 From: Ikalco <73481042+ikalco@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:31:27 -0600 Subject: internal: remove dead code (#8748) --- src/render/OpenGL.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/render/OpenGL.cpp') 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 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()!"); -- cgit v1.2.3