From ba350b6f3b7373a79799921f72c17bac4f163746 Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Sun, 16 Apr 2017 16:12:58 +0800 Subject: [PATCH] Fix Compile Warning in Renderer::superCopy --- MiniEngine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MiniEngine.cpp b/MiniEngine.cpp index a65006c..b9f8df1 100644 --- a/MiniEngine.cpp +++ b/MiniEngine.cpp @@ -644,6 +644,8 @@ namespace MiniEngine case FlipMode::Vertical: flip=SDL_FLIP_VERTICAL; break; + default: + flip=SDL_FLIP_NONE; } return SDL_RenderCopyEx(_get(),t._get(),pR1,pR2,angle,pPoint,flip);