diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-04-04 19:11:58 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-04 14:42:04 -0400 |
| commit | 97ee042757d07dad38b98546ddfb005354840c46 (patch) | |
| tree | 50794c7959ef6f4779dbaf2abe8fba3596159b8a /src/render/decorations | |
| parent | 9b05dc1b4c44849a3c23e67381dd7c2f311b4ee3 (diff) | |
render/opengl: optimize getShaderVariant's map access
Diffstat (limited to 'src/render/decorations')
| -rw-r--r-- | src/render/decorations/DecorationPositioner.hpp | 14 |
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; |
