Browse Source

Make x11_rawfb set_style() examples correct

0x0203 6 years ago
parent
commit
46031ccc5f
1 changed files with 4 additions and 4 deletions
  1. 4 4
      demo/x11_rawfb/main.c

+ 4 - 4
demo/x11_rawfb/main.c

@@ -189,10 +189,10 @@ main(void)
     if (!rawfb) running = 0;
     if (!rawfb) running = 0;
 
 
     #ifdef INCLUDE_STYLE
     #ifdef INCLUDE_STYLE
-    /*set_style(ctx, THEME_WHITE);*/
-    /*set_style(ctx, THEME_RED);*/
-    /*set_style(ctx, THEME_BLUE);*/
-    /*set_style(ctx, THEME_DARK);*/
+    /*set_style(&rawfb->ctx, THEME_WHITE);*/
+    /*set_style(&rawfb->ctx, THEME_RED);*/
+    /*set_style(&rawfb->ctx, THEME_BLUE);*/
+    /*set_style(&rawfb->ctx, THEME_DARK);*/
     #endif
     #endif
 
 
     while (running) {
     while (running) {