mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
LibGfx+LibGUI: Make Gfx::ShareableBitmap transmit indexed palettes
This commit is contained in:
parent
b5d98c0945
commit
8a61aba1e5
5 changed files with 49 additions and 15 deletions
|
@ -571,6 +571,7 @@ OwnPtr<Messages::WindowServer::SetWindowBackingStoreResponse> ClientConnection::
|
|||
message.has_alpha_channel() ? Gfx::BitmapFormat::RGBA32 : Gfx::BitmapFormat::RGB32,
|
||||
message.anon_file().take_fd(),
|
||||
message.size(),
|
||||
{},
|
||||
Gfx::Bitmap::ShouldCloseAnonymousFile::Yes);
|
||||
window.set_backing_store(move(backing_store), message.serial());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue