summaryrefslogtreecommitdiff
path: root/src/render/decorations
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2026-04-04 19:11:58 +0100
committerVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-04 14:42:04 -0400
commit97ee042757d07dad38b98546ddfb005354840c46 (patch)
tree50794c7959ef6f4779dbaf2abe8fba3596159b8a /src/render/decorations
parent9b05dc1b4c44849a3c23e67381dd7c2f311b4ee3 (diff)
render/opengl: optimize getShaderVariant's map access
Diffstat (limited to 'src/render/decorations')
-rw-r--r--src/render/decorations/DecorationPositioner.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/decorations/DecorationPositioner.hpp b/src/render/decorations/DecorationPositioner.hpp
index 99168c10..3010824f 100644
--- a/src/render/decorations/DecorationPositioner.hpp
+++ b/src/render/decorations/DecorationPositioner.hpp
@@ -80,13 +80,13 @@ class CDecorationPositioner {
};
struct SWindowData {
- Vector2D lastWindowSize = {};
- SBoxExtents reserved = {};
- SBoxExtents extents = {};
- SBoxExtents decorationExtents = {};
- SBoxExtents decorationInputExtents = {};
- bool needsRecalc = false;
- bool needsDamageExtents = true;
+ Vector2D lastWindowSize = {};
+ SBoxExtents reserved = {};
+ SBoxExtents extents = {};
+ SBoxExtents decorationExtents = {};
+ SBoxExtents decorationInputExtents = {};
+ bool needsRecalc = false;
+ bool needsDamageExtents = true;
};
std::map<PHLWINDOWREF, SWindowData> m_windowDatas;