hagl icon indicating copy to clipboard operation
hagl copied to clipboard

Found a dot that is not rendered at bottom right of screen.

Open BobDNA opened this issue 3 years ago • 2 comments

Is that dot is by design or bug? I used : ESP-IDF 4.3.1 TTGO T-DISPLAY

I found this dot in your example too (esp_gfx and esp_effect).

BobDNA avatar Oct 22 '21 08:10 BobDNA

Sounds like an off by one bug somewhere. Will check.

tuupola avatar Oct 22 '21 09:10 tuupola

OK, I think I found this bug. It is not a bug in hagl library. It is a bug related to hagl_hal_clear_screen() function in hagl_esp_mipi library which is used in hagl_hal_triple.c and hagl_hal_double.c.

The line 172 in hagl_hal_triple.c and line 187 in hagl_hal_double.c

Both lines may need to be changed from size_t count = DISPLAY_WIDTH * DISPLAY_HEIGHT; --> size_t count = DISPLAY_WIDTH * DISPLAY_HEIGHT +1;

Not sure is this correct?

BobDNA avatar Oct 23 '21 05:10 BobDNA