Fix Compile Warning in Renderer::superCopy

This commit is contained in:
Kirigaya Kazuto 2017-04-16 16:12:58 +08:00
parent dca9c0fc07
commit ba350b6f3b

View File

@ -644,6 +644,8 @@ namespace MiniEngine
case FlipMode::Vertical: case FlipMode::Vertical:
flip=SDL_FLIP_VERTICAL; flip=SDL_FLIP_VERTICAL;
break; break;
default:
flip=SDL_FLIP_NONE;
} }
return SDL_RenderCopyEx(_get(),t._get(),pR1,pR2,angle,pPoint,flip); return SDL_RenderCopyEx(_get(),t._get(),pR1,pR2,angle,pPoint,flip);