mirror of
https://github.com/hyprwm/Hyprland
synced 2026-01-06 12:10:11 +01:00
renderer: remove unnecessary assert from renderRoundedShadow (#12540)
This commit is contained in:
parent
9cd070fd31
commit
38f912c401
1 changed files with 0 additions and 1 deletions
|
|
@ -2643,7 +2643,6 @@ void CHyprOpenGLImpl::renderBorder(const CBox& box, const CGradientValueData& gr
|
|||
void CHyprOpenGLImpl::renderRoundedShadow(const CBox& box, int round, float roundingPower, int range, const CHyprColor& color, float a) {
|
||||
RASSERT(m_renderData.pMonitor, "Tried to render shadow without begin()!");
|
||||
RASSERT((box.width > 0 && box.height > 0), "Tried to render shadow with width/height < 0!");
|
||||
RASSERT(m_renderData.currentWindow, "Tried to render shadow without a window!");
|
||||
|
||||
if (m_renderData.damage.empty())
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue