Turn off Anti-Aliasing for Drawing shapes

What do you want to achieve?

I’m drawing shapes such as triangles and I need to turn off the anti-aliasing. Is it possible?

What have you tried so far?

I tried setting lv_display_set_antialiasing(display, false); but the triangle is still anti-aliased. There used to be a LV_ANTIALIAS option in the config in previous versions of LVGL, but that option no longer exists.

What MCU/Processor/Board and compiler are you using?

ESP32

What LVGL version are you using?

v9.1

Is there anyway to draw a shape that is aliased?