diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-11 22:20:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-11 22:20:22 +0300 |
commit | d9bef8817b5fa87869677a24b938b153175ef647 (patch) | |
tree | 9951db7ae53378949828526e08dbb5dcb54accc3 /src/render | |
parent | 7ddef8737cc3946d407376dd8f9a805fb7ee6f3c (diff) | |
download | plus-d9bef8817b5fa87869677a24b938b153175ef647.tar.gz plus-d9bef8817b5fa87869677a24b938b153175ef647.tar.bz2 plus-d9bef8817b5fa87869677a24b938b153175ef647.tar.xz plus-d9bef8817b5fa87869677a24b938b153175ef647.zip |
Fix tests compilation for SDL 2.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/mockgraphics.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/mockgraphics.cc b/src/render/mockgraphics.cc index 05d3f1250..bf2618346 100644 --- a/src/render/mockgraphics.cc +++ b/src/render/mockgraphics.cc @@ -281,8 +281,8 @@ bool MockGraphics::setVideoMode(const int w, const int h, return false; } - mRect.w = CAST_U16(mWindow->w); - mRect.h = CAST_U16(mWindow->h); + mRect.w = CAST_U16(mRect.w); + mRect.h = CAST_U16(mRect.h); return videoInfo(); } |