tuupola/hagl

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

BobDNA opened this issue · 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).

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

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?