Skip to content

Commit

Permalink
When playing, use Cairo if applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
genete committed Mar 9, 2013
1 parent d7d6321 commit fb41c58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion synfig-studio/src/gui/workarea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2729,7 +2729,11 @@ studio::WorkArea::sync_update_preview()
set_rend_desc(desc);

// Create the render target
handle<WorkAreaTarget> target(new class WorkAreaTarget(this,w,h));
handle<Target> target;
if(studio::App::workarea_uses_cairo)
target=new class WorkAreaTarget_Cairo(this,w,h);
else
target=new class WorkAreaTarget(this, w, h);

target->set_rend_desc(&desc);

Expand Down

0 comments on commit fb41c58

Please sign in to comment.