clean up temp logic in snapshots

This commit is contained in:
vaxerski 2022-08-22 13:38:40 +02:00
parent 86be6c3884
commit 52318692f0

View file

@ -993,7 +993,7 @@ void CHyprOpenGLImpl::renderSnapshot(SLayerSurface** pLayer) {
wlr_box monbox = {0, 0, PMONITOR->vecTransformedSize.x, PMONITOR->vecTransformedSize.y}; wlr_box monbox = {0, 0, PMONITOR->vecTransformedSize.x, PMONITOR->vecTransformedSize.y};
pixman_region32_t fakeDamage; pixman_region32_t fakeDamage;
pixman_region32_init_rect(&fakeDamage, 0, 0, PMONITOR->vecPixelSize.x * 20, PMONITOR->vecPixelSize.y * 20); pixman_region32_init_rect(&fakeDamage, 0, 0, PMONITOR->vecTransformedSize.x, PMONITOR->vecTransformedSize.y);
m_bEndFrame = true; m_bEndFrame = true;