From 8783e66e21cd640ea496a65c79ca6e5f78eed60e Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 19 Mar 2026 23:42:20 +0100 Subject: [PATCH] Update rlsw.h --- src/external/rlsw.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/external/rlsw.h b/src/external/rlsw.h index b243f576f..e4b481a0b 100644 --- a/src/external/rlsw.h +++ b/src/external/rlsw.h @@ -4059,9 +4059,9 @@ void swBlitPixels(int xDst, int yDst, int wDst, int hDst, int xSrc, int ySrc, in // Get framefuffer pixel data pointer and size void *swGetColorBuffer(int *width, int *height) { - if (width != NULL) *width = RLSW.framebuffer.color->width; - if (height != NULL) *height = RLSW.framebuffer.color->height; - return RLSW.framebuffer.color->pixels; + if (width != NULL) *width = RLSW.framebuffer.color.width; + if (height != NULL) *height = RLSW.framebuffer.color.height; + return RLSW.framebuffer.color.pixels; } void swEnable(SWstate state)