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 | 33873e35793f81a56845e0da9321e4aec3ac0ab0 (patch) | |
tree | e1e6a11374ab668afaf9c6a18533bbfce3092f87 /viewport.c | |
parent | 52a7e2135d93b3528105a446ae6b5e392f3fa24c (diff) | |
download | openttd-33873e35793f81a56845e0da9321e4aec3ac0ab0.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 'viewport.c')
0 files changed, 0 insertions, 0 deletions