Skip to content

Commit 8783e66

Browse files
committed
Update rlsw.h
1 parent 7ae46fb commit 8783e66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/external/rlsw.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4059,9 +4059,9 @@ void swBlitPixels(int xDst, int yDst, int wDst, int hDst, int xSrc, int ySrc, in
40594059
// Get framefuffer pixel data pointer and size
40604060
void *swGetColorBuffer(int *width, int *height)
40614061
{
4062-
if (width != NULL) *width = RLSW.framebuffer.color->width;
4063-
if (height != NULL) *height = RLSW.framebuffer.color->height;
4064-
return RLSW.framebuffer.color->pixels;
4062+
if (width != NULL) *width = RLSW.framebuffer.color.width;
4063+
if (height != NULL) *height = RLSW.framebuffer.color.height;
4064+
return RLSW.framebuffer.color.pixels;
40654065
}
40664066

40674067
void swEnable(SWstate state)

0 commit comments

Comments
 (0)