diff --git a/src/Window.cpp b/src/Window.cpp index c54ec0dc..4de6d5a9 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -355,9 +355,6 @@ void CWindow::onMap() { m_cRealShadowColor.registerVar(); m_fDimPercent.registerVar(); - m_vRealSize.setCallbackOnEnd([&](void* ptr) { g_pHyprOpenGL->onWindowResizeEnd(this); }, false); - m_vRealSize.setCallbackOnBegin([&](void* ptr) { g_pHyprOpenGL->onWindowResizeStart(this); }, false); - m_fBorderAngleAnimationProgress.setCallbackOnEnd([&](void* ptr) { onBorderAngleAnimEnd(ptr); }, false); m_fBorderAngleAnimationProgress.setValueAndWarp(0.f); diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 0d2327a0..1d13037b 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -1204,10 +1204,6 @@ void CHyprOpenGLImpl::makeLayerSnapshot(SLayerSurface* pLayer) { wlr_output_rollback(PMONITOR->output); } -void CHyprOpenGLImpl::onWindowResizeStart(CWindow* pWindow) {} - -void CHyprOpenGLImpl::onWindowResizeEnd(CWindow* pWindow) {} - void CHyprOpenGLImpl::renderSnapshot(CWindow** pWindow) { RASSERT(m_RenderData.pMonitor, "Tried to render snapshot rect without begin()!"); const auto PWINDOW = *pWindow; diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 2b71c000..537d7143 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -103,9 +103,6 @@ class CHyprOpenGLImpl { void saveBufferForMirror(); void renderMirrored(); - void onWindowResizeStart(CWindow*); - void onWindowResizeEnd(CWindow*); - void applyScreenShader(const std::string& path); SCurrentRenderData m_RenderData;