summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-13 21:38:01 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-13 21:38:01 +0300
commitaa03bdb26c736e7d506d656a5529cf6a4e9fe6b4 (patch)
tree19b7e9958b54ac138b10a606b0360c12626203af /src/render/graphics.h
parent1a6a12a8b3310400a103e0048b7ed747fc479398 (diff)
downloadmv-aa03bdb26c736e7d506d656a5529cf6a4e9fe6b4.tar.gz
mv-aa03bdb26c736e7d506d656a5529cf6a4e9fe6b4.tar.bz2
mv-aa03bdb26c736e7d506d656a5529cf6a4e9fe6b4.tar.xz
mv-aa03bdb26c736e7d506d656a5529cf6a4e9fe6b4.zip
New stack class in graphics areas stack.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h5
1 files changed, 3 insertions, 2 deletions
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 <SDL_video.h>
#ifdef USE_SDL2
@@ -514,7 +515,7 @@ class Graphics notfinal
/**
* Holds the clip area stack.
*/
- std::stack<ClipRect> mClipStack;
+ MStack<ClipRect> mClipStack;
SDL_Window *mWindow;