From aa03bdb26c736e7d506d656a5529cf6a4e9fe6b4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 13 May 2015 21:38:01 +0300 Subject: New stack class in graphics areas stack. --- src/render/graphics.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/render/graphics.h') diff --git a/src/render/graphics.h b/src/render/graphics.h index c803b7746..c43471f66 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -72,9 +72,10 @@ #include "enums/render/rendertype.h" #include "gui/color.h" - #include "gui/cliprect.h" +#include "resources/mstack.h" + #include #ifdef USE_SDL2 @@ -514,7 +515,7 @@ class Graphics notfinal /** * Holds the clip area stack. */ - std::stack mClipStack; + MStack mClipStack; SDL_Window *mWindow; -- cgit v1.2.3-60-g2f50