1.15.12 Can't copy (paint) recording surface to another recording surface
Submitted by mar..@..mx.net
Assigned to Chris Wilson @ickle
Link to original bug (#107440)
Description
Created attachment 140910 Simple program to reproduce the bug
Hello,
I've attached a program that draws some lines to a recording surface. It then computes the size of the recording surface and prints it. This works.
After that, the program sets the surface as source and paints it onto another recording surface. This seems not to work. The computed size of the second surface is -1.
The ouput of the program is: Size of surface: 4.000000 102.000000 at 0.000000 0.000000 Size of surface: -1.000000 -1.000000 at -8388608.000000 -8388608.000000
But it should be 2 times the same output:
Size of surface: 4.000000 102.000000 at 0.000000 0.000000 Size of surface: 4.000000 102.000000 at 0.000000 0.000000
Thank you very much.
Attachment 140910, "Simple program to reproduce the bug":
main.c