|
From: <hez...@us...> - 2010-03-14 15:45:53
|
Revision: 10867
http://plplot.svn.sourceforge.net/plplot/?rev=10867&view=rev
Author: hezekiahcarty
Date: 2010-03-14 15:45:42 +0000 (Sun, 14 Mar 2010)
Log Message:
-----------
Small change to fix the extXdrawable_demo.c example
The off-screen rendered plot was never flushed to the on-screen
surface in the external drawable case.
Modified Paths:
--------------
trunk/drivers/cairo.c
Modified: trunk/drivers/cairo.c
===================================================================
--- trunk/drivers/cairo.c 2010-03-14 15:44:48 UTC (rev 10866)
+++ trunk/drivers/cairo.c 2010-03-14 15:45:42 UTC (rev 10867)
@@ -1757,12 +1757,12 @@
aStream = (PLCairo *) pls->dev;
+ /* Blit the offscreen image to the X window. */
+ blit_to_x( aStream, 0.0, 0.0, pls->xlength, pls->ylength );
+
if ( aStream->xdrawable_mode )
return;
- /* Blit the offscreen image to the X window. */
- blit_to_x( aStream, 0.0, 0.0, pls->xlength, pls->ylength );
-
/* Only pause if nopause is unset. */
if ( pls->nopause )
aStream->exit_event_loop = 1;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|