From ac93bac2b739f1f67e12e0410adaf3036bc1e884 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sun, 2 Nov 2025 20:44:36 +0000 Subject: [PATCH] ugh git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@574 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/backend/x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/x11.c b/src/backend/x11.c index 1dc36f5..b1f4af7 100644 --- a/src/backend/x11.c +++ b/src/backend/x11.c @@ -477,7 +477,7 @@ void MwLLPixmapUpdate(MwLLPixmap r) { for(y = 0; y < r->height; y++) { for(x = 0; x < r->width; x++) { - if(r->data_buf[(y * r->width + x) * 4 + 3]) { + if(r->raw[(y * r->width + x) * 4 + 3]) { XPutPixel(r->mask, x, y, 1); } else { XPutPixel(r->mask, x, y, 0); @@ -487,7 +487,7 @@ void MwLLPixmapUpdate(MwLLPixmap r) { } void MwLLDestroyPixmap(MwLLPixmap pixmap) { - free(pixmap->data_buf); + free(pixmap->raw); XDestroyImage(pixmap->image); XDestroyImage(pixmap->mask); free(pixmap->data);