demo/x11_rawfb: fix build errors
Like these: main.c: In function ‘main’: main.c:234:20: error: ‘ctx’ undeclared (first use in this function) overview(ctx); ^ Signed-off-by: Sergiy Kibrik <sakib@darkstar.site>
This commit is contained in:
parent
181cfd86c4
commit
0a46238a44
@ -228,13 +228,13 @@ main(void)
|
|||||||
|
|
||||||
/* -------------- EXAMPLES ---------------- */
|
/* -------------- EXAMPLES ---------------- */
|
||||||
#ifdef INCLUDE_CALCULATOR
|
#ifdef INCLUDE_CALCULATOR
|
||||||
calculator(ctx);
|
calculator(&rawfb->ctx);
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_OVERVIEW
|
#ifdef INCLUDE_OVERVIEW
|
||||||
overview(ctx);
|
overview(&rawfb->ctx);
|
||||||
#endif
|
#endif
|
||||||
#ifdef INCLUDE_NODE_EDITOR
|
#ifdef INCLUDE_NODE_EDITOR
|
||||||
node_editor(ctx);
|
node_editor(&rawfb->ctx);
|
||||||
#endif
|
#endif
|
||||||
/* ----------------------------------------- */
|
/* ----------------------------------------- */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user