login

<     >

2021-08-17 19:13:49 (UTC-03:00)

Marcel Rodrigues <marcelgmr@gmail.com>

Update example to use bgindex API.

diff --git a/example.c b/example.c
index 5960c14..f4f7a80 100644
--- a/example.c
+++ b/example.c
@@ -17,6 +17,7 @@ main()
             0x00, 0x00, 0xFF, /* 3 -> blue */
         },
         2,              /* palette depth == log2(# of colors) */
+        -1,             /* no transparency */
         0               /* infinite loop */
     );
     /* draw some frames */