diff options
author | Jonathan G Rennison <j.g.rennison@gmail.com> | 2018-01-16 23:23:52 +0000 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-01-24 11:12:06 +0000 |
commit | db924a4681f019a6372f5192693af5aede36d080 (patch) | |
tree | 210488cfd3c478b086e353c10826ee834d605d6b /src/newgrf_town.h | |
parent | ed325ada887f09904b3351020903899a033c6b51 (diff) | |
download | openttd-db924a4681f019a6372f5192693af5aede36d080.tar.xz |
Codechange: [Blitter] Change DrawLine to be templated
This is remove per-pixel overheads due to use of the SetPixel virtual
method.
These overheads included:
* expensive virtual method call which prevents inlining
* palette lookup for every pixel
* branch on whether palette animation is enabled on every pixel
Regenerate project files.
Diffstat (limited to 'src/newgrf_town.h')
0 files changed, 0 insertions, 0 deletions