didnt mean to comment that out

This commit is contained in:
vaxerski 2022-03-23 22:38:54 +01:00
parent 172f8b04f0
commit 411a050169

View file

@ -20,12 +20,12 @@ void renderSurface(struct wlr_surface* surface, int x, int y, void* data) {
wlr_box windowBox; wlr_box windowBox;
// if (RDATA->surface) { if (RDATA->surface) {
// windowBox = {(int)outputX + RDATA->x + x, (int)outputY + RDATA->y + y, RDATA->w, RDATA->h}; windowBox = {(int)outputX + RDATA->x + x, (int)outputY + RDATA->y + y, RDATA->w, RDATA->h};
// wlr_renderer_scissor(g_pCompositor->m_sWLRRenderer, &windowBox); wlr_renderer_scissor(g_pCompositor->m_sWLRRenderer, &windowBox);
// } else { } else {
windowBox = {(int)outputX + RDATA->x + x, (int)outputY + RDATA->y + y, surface->current.width, surface->current.height}; windowBox = {(int)outputX + RDATA->x + x, (int)outputY + RDATA->y + y, surface->current.width, surface->current.height};
// } }
scaleBox(&windowBox, RDATA->output->scale); scaleBox(&windowBox, RDATA->output->scale);
const auto TRANSFORM = wlr_output_transform_invert(surface->current.transform); const auto TRANSFORM = wlr_output_transform_invert(surface->current.transform);