diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-27 11:49:51 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-27 11:49:51 +0000 |
commit | eb45bf634014b68c3d0466354c13c0e20c3825f8 (patch) | |
tree | e1e6a11374ab668afaf9c6a18533bbfce3092f87 /newgrf.c | |
parent | e205c693e116ef4773a1d76b8b6cfef3762e25f5 (diff) | |
download | openttd-eb45bf634014b68c3d0466354c13c0e20c3825f8.tar.xz |
(svn r6959) -Codechange: Move GfxFillRect() out of the chat-message drawing loop since we already
know how many lines we are going to draw. On certain architectures this results in a
minor penalty of local function performance if only 1 line is drawn. But starting from
2 and more you'll get a net gain.
Diffstat (limited to 'newgrf.c')
0 files changed, 0 insertions, 0 deletions