ClosedBit error docs

CB_ERR_RENDER_CALL

Render call shape error. A rendering function received the wrong number or type of arguments.

Why it happens

A rendering function received the wrong number or type of arguments.

How to fix it

Check the library docs for the exact function signature and use numeric color values such as 0x071018.

Copy-paste fix pattern
library CB-Render

fn main() {
    init_window(960, 540, "ClosedBit")
    clear(0x071018)
    draw_text(24, 24, "Ready", 0xFFFFFF, 24)
    swap_buffers_fast()
}
If the IDE reports a line number, fix that line first, then scan the previous line for an unclosed string, bracket, or block.