summaryrefslogtreecommitdiff
path: root/.dorpsgek.yml
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-20 19:01:45 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-20 21:14:44 +0100
commitf3c192c63d77de641c84fd2d808e11418b9c15fd (patch)
tree1a3fbb4a4ad96fc37a255d13cfd8c5425579a2fc /.dorpsgek.yml
parent61275df7dafaca3a8c6c6d726ad399dd055263e3 (diff)
downloadopenttd-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 '.dorpsgek.yml')
0 files changed, 0 insertions, 0 deletions