tuupola / hagl

Hardware Agnostic Graphics Library for embedded
https://www.appelsiini.net/tags/hagl/
MIT License
293 stars 47 forks source link

Unable to set HAGL_CHAR_BUFFER_SIZE from main #120

Open sisodiakaran opened 1 month ago

sisodiakaran commented 1 month ago

Hi, I am using the library in ESP-IDF (5.2.1) project. I am willing to use bigger font size so I defined HAGL_CHAR_BUFFER_SIZE in my main file before including hagl.h. But unfortunately it is not being changed to desired size. I am suspecting the scope issue here.

https://github.com/tuupola/hagl/blob/7d88ff0689a7c726f0ebfd9e019a80903a0ad71c/include/hagl.h#L67C1-L67C8