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>
master
Sergiy Kibrik 2018-12-11 16:51:17 +02:00
parent 181cfd86c4
commit 0a46238a44
1 changed files with 3 additions and 3 deletions

View File

@ -228,13 +228,13 @@ main(void)
/* -------------- EXAMPLES ---------------- */
#ifdef INCLUDE_CALCULATOR
calculator(ctx);
calculator(&rawfb->ctx);
#endif
#ifdef INCLUDE_OVERVIEW
overview(ctx);
overview(&rawfb->ctx);
#endif
#ifdef INCLUDE_NODE_EDITOR
node_editor(ctx);
node_editor(&rawfb->ctx);
#endif
/* ----------------------------------------- */