-
Christian Persch authored
Instead of allocating the pixels then creating a surface from data, just create the surface directly. This has the added benefit that cairo checks the for valid width and height.
6ceaecc0
Instead of allocating the pixels then creating a surface from data, just create the surface directly. This has the added benefit that cairo checks the for valid width and height.