memononen / nanovg

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
zlib License
5.15k stars 770 forks source link

Allows setting the `NVG_MAX_STATES` number. #649

Closed olliwang closed 2 years ago

olliwang commented 2 years ago

Currently, NVG_MAX_STATES is set to 32. But it’s not enough sometimes in my case. This commit allows defining the preferred NVG_MAX_STATES number.

memononen commented 2 years ago

Thanks for the improvement!

olliwang commented 2 years ago

Thanks for the fast merge :)