diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-07-31 17:34:35 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-05 17:21:12 +0200 |
commit | b51a15abb93a0dd0fc491419d12ea58637ebf089 (patch) | |
tree | 1bd857fa1684e882de13ab72e5ca386a1728b8bb /src/resources/imageloader.cpp | |
parent | 542570896e1e0ce73ebfc442b48e741c2ea32377 (diff) | |
download | mana-b51a15abb93a0dd0fc491419d12ea58637ebf089.tar.gz mana-b51a15abb93a0dd0fc491419d12ea58637ebf089.tar.bz2 mana-b51a15abb93a0dd0fc491419d12ea58637ebf089.tar.xz mana-b51a15abb93a0dd0fc491419d12ea58637ebf089.zip |
Removed 'virtual' from methods of Image
Maybe it used to be necessary for these methods to be virtual, but this
is no longer the case. Hence we can avoid wasting CPU ticks searching
through virtual function tables, especially for frequently used methods
like getWidth, getHeight and setAlpha.
MapLayer::getTile was inlined.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/resources/imageloader.cpp')
0 files changed, 0 insertions, 0 deletions