mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update rust-layers and rust-opengles and switch to ARGB32 layers
This commit is contained in:
parent
1212f3df65
commit
127189bdc8
3 changed files with 3 additions and 4 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 50c5e964d91316ce19d7be8de68903eedca87703
|
||||
Subproject commit 67b42d79d5b0c2d70846c307967c5e5fbd8d907b
|
|
@ -1 +1 @@
|
|||
Subproject commit 2c0c13349317a81eae3e749c7bd4ae847ff85f08
|
||||
Subproject commit 89012dd8ec3b6142b905f8958e65bf443c032e0a
|
|
@ -84,8 +84,7 @@ fn mainloop(po: port<Msg>) {
|
|||
}
|
||||
|
||||
let image =
|
||||
@layers::layers::Image(800, 600, layers::layers::RGB24Format,
|
||||
layers::util::convert_rgb32_to_rgb24(image_data));
|
||||
@layers::layers::Image(800, 600, layers::layers::ARGB32Format, image_data);
|
||||
image_layer.set_image(image);
|
||||
}
|
||||
exit {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue