mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement create_similar_draw_target
This commit is contained in:
parent
4c73e4bb3f
commit
0a3c6637bb
1 changed files with 2 additions and 2 deletions
|
@ -241,10 +241,10 @@ impl GenericDrawTarget for raqote::DrawTarget {
|
|||
}
|
||||
fn create_similar_draw_target(
|
||||
&self,
|
||||
_size: &Size2D<i32>,
|
||||
size: &Size2D<i32>,
|
||||
_format: SurfaceFormat,
|
||||
) -> Box<dyn GenericDrawTarget> {
|
||||
unimplemented!();
|
||||
Box::new(raqote::DrawTarget::new(size.width, size.height))
|
||||
}
|
||||
fn create_source_surface_from_data(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue