C SDK documentation incorrect for LCDSpriteDrawFunction

Hi all. In the C API documentation, it says the following about void playdate->sprite->setDrawFunction.

However, this is not the actual function signature for that draw function. This is the actual signature

typedef void LCDSpriteDrawFunction(LCDSprite* sprite, PDRect bounds, PDRect drawrect);

It would be awesome if the C API documentation could be updated. Thanks!

1 Like

fixed. Thanks for catching that!

1 Like