You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
graphics.c does not perform any clipping, which means that it's possible to make the application crash by writing outside the target surface.
Following the current libdragon approach, I think it would be useful to implement some clipping on the surface extents. This could be easily done within the __set_pixel macro at the expense of some performance, or better done function by function before entering the per-pixel loop.
The text was updated successfully, but these errors were encountered:
graphics.c does not perform any clipping, which means that it's possible to make the application crash by writing outside the target surface.
Following the current libdragon approach, I think it would be useful to implement some clipping on the surface extents. This could be easily done within the
__set_pixel
macro at the expense of some performance, or better done function by function before entering the per-pixel loop.The text was updated successfully, but these errors were encountered: