diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-26 01:47:20 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-26 01:47:20 +0200 |
commit | 519119db3d20191955e265b2888b14eb09007a4c (patch) | |
tree | 040bc95a8a1525639c492305ca9b348e1bcd7f08 /src/view/MapView.cpp | |
parent | d9f829f10a8310f53d945cd96ecce28193b792d8 (diff) | |
download | rpgedit-519119db3d20191955e265b2888b14eb09007a4c.tar rpgedit-519119db3d20191955e265b2888b14eb09007a4c.zip |
Move renderer clear call from MapView to system loop
Diffstat (limited to 'src/view/MapView.cpp')
-rw-r--r-- | src/view/MapView.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/view/MapView.cpp b/src/view/MapView.cpp index 78bc24c..d8a69d5 100644 --- a/src/view/MapView.cpp +++ b/src/view/MapView.cpp @@ -95,8 +95,6 @@ void MapView::clearEntities() { } void MapView::render(const Model::Map *map, Model::Position<float> center, uint64_t time) { - SDL_RenderClear(window->getRenderer()); - std::pair<int, int> viewport = window->getViewport(); float pixels = std::max(viewport.first/20.0f, viewport.second/15.0f); |