mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-16 12:09:10 -04:00
Update rlsw.h
This commit is contained in:
6
src/external/rlsw.h
vendored
6
src/external/rlsw.h
vendored
@ -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
|
// Get framefuffer pixel data pointer and size
|
||||||
void *swGetColorBuffer(int *width, int *height)
|
void *swGetColorBuffer(int *width, int *height)
|
||||||
{
|
{
|
||||||
if (width != NULL) *width = RLSW.framebuffer.color->width;
|
if (width != NULL) *width = RLSW.framebuffer.color.width;
|
||||||
if (height != NULL) *height = RLSW.framebuffer.color->height;
|
if (height != NULL) *height = RLSW.framebuffer.color.height;
|
||||||
return RLSW.framebuffer.color->pixels;
|
return RLSW.framebuffer.color.pixels;
|
||||||
}
|
}
|
||||||
|
|
||||||
void swEnable(SWstate state)
|
void swEnable(SWstate state)
|
||||||
|
|||||||
Reference in New Issue
Block a user