Skip to content

Commit e40377f

Browse files
authored
Merge pull request xbmc#27460 from neo1973/GraphicContext_allocations
GraphicContext: Use `std::stack` with a `std::vector`
2 parents 3493475 + 44f3c87 commit e40377f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xbmc/windowing/GraphicContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ class CGraphicContext : public CCriticalSection
270270

271271
UITransform m_guiTransform;
272272
UITransform m_finalTransform;
273-
std::stack<UITransform> m_transforms;
273+
std::stack<UITransform, std::vector<UITransform>> m_transforms;
274274
RENDER_STEREO_VIEW m_stereoView = RENDER_STEREO_VIEW_OFF;
275275
RENDER_STEREO_MODE m_stereoMode = RENDER_STEREO_MODE_OFF;
276276
RENDER_STEREO_MODE m_nextStereoMode = RENDER_STEREO_MODE_OFF;

0 commit comments

Comments
 (0)