[cairo] cairo_xlib_surface_create

Charles سمير Doutriaux doutriaux1 at llnl.gov
Mon Jul 20 10:50:12 PDT 2009


Hi,

I  have this piece of code that used to work and now fails under  
cairo. I'm not sure what exactly changed (pixman/cairo?)

I'm now using:
cairo 1.8.8

the follwoing command

         surface = cairo_xlib_surface_create(display,
						      drawable,
						      visual,
						      x,
						      y);

now returns:

invalid value for an input Visual*

I checked my visual seems ok and is TrueColor

I'm running on Mac OSX: 10.5.7
with the latest XCode on it.

Any idea?

I'll try to downgrade my cairo version to see if it fixes it
Thanks,

Charles.




More information about the cairo mailing list