diff options
| author | Guldoman <giulio.lettieri@gmail.com> | 2022-04-20 23:13:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-20 17:13:42 -0400 |
| commit | 1439b59d653f02e1c768d74d952aa211b9255f4f (patch) | |
| tree | 689b9e04b9f6d5754c63861e6e266dafbf807e08 /data/core/utf8string.lua | |
| parent | bbac7e479cb6ff46bac5deb72dcb2d54581df37e (diff) | |
| download | pragtical-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
