diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-06-25 15:10:14 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-06-25 15:10:14 +0000 |
commit | a42f7cbc8ae25a91f510351c54752b0b41562f82 (patch) | |
tree | 8bebbd4eeca7b586b25e9bd67c1054398f641c33 /src/render/sdlgraphics.cpp | |
parent | fd617a8f12964e9f7ef0e5c0d078f539019a3d9a (diff) | |
download | manaplus-a42f7cbc8ae25a91f510351c54752b0b41562f82.tar.gz manaplus-a42f7cbc8ae25a91f510351c54752b0b41562f82.tar.bz2 manaplus-a42f7cbc8ae25a91f510351c54752b0b41562f82.tar.xz manaplus-a42f7cbc8ae25a91f510351c54752b0b41562f82.zip |
Split #include "utils/performance.h" out of localconsts.h
only about 160 out of 1500 files that include localconsts.h need
to include performance.h
Saves 12% from compile times (with profiler ON) and 0.1% with profiler OFF.
****
mana/plus!189
Diffstat (limited to 'src/render/sdlgraphics.cpp')
-rw-r--r-- | src/render/sdlgraphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index 558fbc734..910c511ee 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -27,16 +27,16 @@ #include "graphicsmanager.h" -#include "utils/sdlcheckutils.h" - -#include "utils/sdlpixel.h" - #include "render/vertexes/imagecollection.h" #include "resources/imagerect.h" #include "resources/image/image.h" +#include "utils/performance.h" +#include "utils/sdlcheckutils.h" +#include "utils/sdlpixel.h" + #include "debug.h" #ifndef SDL_BIG_ENDIAN |