summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.cpp
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-06-25 15:10:14 +0000
committerFedja Beader <fedja@protonmail.ch>2025-06-25 15:10:14 +0000
commita42f7cbc8ae25a91f510351c54752b0b41562f82 (patch)
tree8bebbd4eeca7b586b25e9bd67c1054398f641c33 /src/render/nullopenglgraphics.cpp
parentfd617a8f12964e9f7ef0e5c0d078f539019a3d9a (diff)
downloadmanaplus-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/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index e09f13b6b..470d35b83 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -36,6 +36,8 @@
#include "resources/image/image.h"
+#include "utils/performance.h"
+
#include "debug.h"
GLuint NullOpenGLGraphics::mTextureBinded = 0;