Author: Carlos Lopez <[email protected]>
Date: Sat Mar 9 11:57:04 2013 +0100
When playing, use Cairo if applicable
---
synfig-studio/src/gui/workarea.cpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/synfig-studio/src/gui/workarea.cpp
b/synfig-studio/src/gui/workarea.cpp
index 81f91ca..f034288 100644
--- a/synfig-studio/src/gui/workarea.cpp
+++ b/synfig-studio/src/gui/workarea.cpp
@@ -2729,7 +2729,11 @@ again:
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);
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl