Skip to content

Commit e6478b9

Browse files
fix #495
1 parent 91bf11c commit e6478b9

File tree

1 file changed

+1
-1
lines changed
  • examples/library_examples/graphx/sprites_moving/src

1 file changed

+1
-1
lines changed

examples/library_examples/graphx/sprites_moving/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ int main(void)
2929

3030
/* Set the palette for the sprites */
3131
gfx_SetPalette(global_palette, sizeof_global_palette, 0);
32-
gfx_FillScreen(1);
3332
gfx_SetTransparentColor(0);
3433

3534
/* Draw to the offscreen buffer */
3635
gfx_SetDrawBuffer();
36+
gfx_FillScreen(1);
3737

3838
/* Draw a bunch of random sprites to demonstrate the partial redraw */
3939
for (i = 0; i < 6; ++i)

0 commit comments

Comments
 (0)