[aseprite] 84/134: Fix compilation error in clang

Tobias Hansen thansen at moszumanska.debian.org
Sat Mar 14 17:10:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit d92a5d08ebce9e1bb01f98920447929267af5a4c
Author: David Capello <davidcapello at gmail.com>
Date:   Sun Nov 30 12:06:31 2014 -0300

    Fix compilation error in clang
---
 src/app/commands/cmd_preview.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/commands/cmd_preview.cpp b/src/app/commands/cmd_preview.cpp
index c62ff44..e7d8958 100644
--- a/src/app/commands/cmd_preview.cpp
+++ b/src/app/commands/cmd_preview.cpp
@@ -190,11 +190,11 @@ protected:
         m_editor->layer(),
         m_editor->frame());
 
+      ImageBufferPtr buf = Editor::getRenderImageBuffer();
       m_render.reset(
         renderEngine.renderSprite(
           0, 0, m_sprite->width(), m_sprite->height(),
-          m_editor->frame(), 0, false, false,
-          Editor::getRenderImageBuffer()));
+          m_editor->frame(), 0, false, false, buf));
     }
 
     int x, y, w, h, u, v;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list