Fixed render camera size being inconsistent between renderers

This commit is contained in:
Michaël Lemaire 2015-11-18 18:39:31 +01:00
parent 88d2a78b70
commit 65b4cd150c

View file

@ -83,9 +83,8 @@ void SoftwareCanvasRenderer::render() {
started = true;
progress->reset();
render_camera->setRenderSize(canvas->getWidth(), canvas->getHeight());
prepare();
render_camera->setRenderSize(canvas->getWidth(), canvas->getHeight());
// Iterate portions
int nx = canvas->getHorizontalPortionCount();