]> git.draconx.ca Git - rrace.git/commitdiff
x11: Improve redraw of empty spaces.
authorNick Bowler <nbowler@draconx.ca>
Wed, 16 Nov 2022 05:16:29 +0000 (00:16 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 16 Nov 2022 06:35:12 +0000 (01:35 -0500)
When the game area is showing only the middle portion with the empty
border, we can clear this with 4 or fewer draw calls instead of 16.
Let's handle this as a special case in the tile drawing code.

Moreover, we don't need to draw anything in these spaces on expose
events, as the exposed areas are already filled with the background.


No differences found