aboutsummaryrefslogtreecommitdiff
path: root/data/core/utf8string.lua
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-04-20 23:13:42 +0200
committerGitHub <noreply@github.com>2022-04-20 17:13:42 -0400
commit1439b59d653f02e1c768d74d952aa211b9255f4f (patch)
tree689b9e04b9f6d5754c63861e6e266dafbf807e08 /data/core/utf8string.lua
parentbbac7e479cb6ff46bac5deb72dcb2d54581df37e (diff)
downloadpragtical-1439b59d653f02e1c768d74d952aa211b9255f4f.tar.gz
pragtical-1439b59d653f02e1c768d74d952aa211b9255f4f.zip
Improve performance of `ren_draw_rect` (#935)
We color a 1x1 `SDL_Surface` with the desired color. This surface is then stretched over the area we need to cover using `SDL_BlitScaled`. This way we avoid having to do the blending ourselves.
Diffstat (limited to 'data/core/utf8string.lua')
0 files changed, 0 insertions, 0 deletions