Skip to content

Commit cae092c

Browse files
committed
rg_display: Missed one lcd_set_window
1 parent fa40565 commit cae092c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/retro-go/rg_display.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,9 @@ void rg_display_write_rect(int left, int top, int width, int height, int stride,
560560

561561
const int screen_left = display.screen.margins.left + left;
562562
const int screen_top = display.screen.margins.top + top;
563+
#if !USE_SCREEN_BUFFER
563564
lcd_set_window(screen_left, screen_top, width, height);
565+
#endif
564566

565567
for (size_t y = 0; y < height;)
566568
{

0 commit comments

Comments
 (0)