summaryrefslogtreecommitdiff
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2024-01-01 16:47:54 +0100
committervaxerski <vaxry@vaxry.net>2024-01-01 16:47:54 +0100
commit33444e1e5ef89efecdf1cf0b3c05daf15e8e29df (patch)
tree490c7ac817880ecaa0ae0bb0620c48c662ef012b /src/render/Renderer.cpp
parent03ebbe18ed8517ee22591eac82cd54322f42cb7d (diff)
deps: update wlroots
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r--src/render/Renderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 88320139..0416d08f 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -161,7 +161,7 @@ static void renderSurface(struct wlr_surface* surface, int x, int y, void* data)
if (!g_pHyprRenderer->m_bBlockSurfaceFeedback) {
wlr_surface_send_frame_done(surface, RDATA->when);
- wlr_presentation_surface_textured_on_output(g_pCompositor->m_sWLRPresentation, surface, RDATA->pMonitor->output);
+ wlr_presentation_surface_textured_on_output(surface, RDATA->pMonitor->output);
}
g_pHyprOpenGL->blend(true);
@@ -905,7 +905,7 @@ bool CHyprRenderer::attemptDirectScanout(CMonitor* pMonitor) {
timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);
wlr_surface_send_frame_done(PSURFACE, &now);
- wlr_presentation_surface_scanned_out_on_output(g_pCompositor->m_sWLRPresentation, PSURFACE, pMonitor->output);
+ wlr_presentation_surface_scanned_out_on_output(PSURFACE, pMonitor->output);
if (wlr_output_commit(pMonitor->output)) {
if (!m_pLastScanout) {