How to set the clear color of drawSprites in C

,

In C, when using playdate->sprite->drawSprites(void), the screen is cleared, but where is the clear color specified for that?
In Lua, it seems I can do whatever I want with setBackgroundDrawingCallback(), but is there a way to do the same thing in C?

It has been discussed here, but not clarified.

1 Like

Sorry. Found it.

playdate->graphics->setBackgroundColor(LCDColor);

I was able to set it with

playdate->graphics->setBackgroundColor(kColorClear);

to do nothing.

Best regards.

1 Like