From dabe62d475294f34a2932721ce7ac7f67ea75f25 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 15 Dec 2025 07:10:23 +0900 Subject: [PATCH] forgot --- src/draw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/draw.c b/src/draw.c index 169b43c..636dc78 100644 --- a/src/draw.c +++ b/src/draw.c @@ -693,6 +693,10 @@ void MwPixmapReloadRaw(MwLLPixmap px, unsigned char* rgb) { MwLLPixmapUpdate(px); } +unsigned char* MwPixmapGetRaw(MwLLPixmap pixmap) { + return pixmap->common.raw; +} + void MwPixmapGetSize(MwLLPixmap pixmap, MwRect* rect) { rect->width = pixmap->common.width; rect->height = pixmap->common.height;