From: Hazen B. <hba...@ma...> - 2008-10-25 02:21:13
|
On Oct 24, 2008, at 2:22 PM, Hezekiah M. Carty wrote: > On Fri, Oct 24, 2008 at 2:49 AM, Werner Smekal > <sm...@ia...> wrote: >> Hi, >> >>> >>> The problem is here: >>> >>> static PLFLT downscale = 0.; >> >>> >>> >>> This should be stored separately as part of each plot stream rather >>> than being a single static global variable. >> >> Yes, this variable needs to be moved to the PLcairo struct. A >> instance of >> this struct is saved into the dev variable of the plplot stream >> and then >> every stream has it's own downscale variable. I can fix that if >> nobody else >> does. > > If not one has come up with a different patch yet, the attached patch > seems to fix the problem for the Cairo devices on my system. Applied. Thanks! -Hazen |