diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-02-20 19:01:45 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-20 21:14:44 +0100 |
commit | f3c192c63d77de641c84fd2d808e11418b9c15fd (patch) | |
tree | 1a3fbb4a4ad96fc37a255d13cfd8c5425579a2fc /media | |
parent | 61275df7dafaca3a8c6c6d726ad399dd055263e3 (diff) | |
download | openttd-f3c192c63d77de641c84fd2d808e11418b9c15fd.tar.xz |
Codechange: [OSX] Only keep a total dirty rect for drawing.
When drawing an 8bpp screen buffer, palette resolving was done for each
dirty rectangle. In areas with high activity, this would mean a pixel might
have been resolved multiple times. Also, if too many individual updates
were queued, the whole screen would be refreshed, even if unnecessary.
All other drivers only keep one overall dirty rect, so do it here as well.
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions