diff options
| author | Christian Meissl <meissl.christian@gmail.com> | 2024-01-24 20:58:58 +0100 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-25 07:49:51 +0400 |
| commit | 20326b093c57bed7a3e423a16c202a69d3ad8c09 (patch) | |
| tree | 04f04c8beb03b0a36f083960072c5611ab52f296 /src/config_error_notification.rs | |
| parent | 467d92a4b448b4cb28a18e0d468c48984869c0b7 (diff) | |
| download | niri-20326b093c57bed7a3e423a16c202a69d3ad8c09.tar.gz niri-20326b093c57bed7a3e423a16c202a69d3ad8c09.tar.bz2 niri-20326b093c57bed7a3e423a16c202a69d3ad8c09.zip | |
Update smithay
Diffstat (limited to 'src/config_error_notification.rs')
| -rw-r--r-- | src/config_error_notification.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_error_notification.rs b/src/config_error_notification.rs index 6e54ead6..37e0f2e8 100644 --- a/src/config_error_notification.rs +++ b/src/config_error_notification.rs @@ -184,7 +184,7 @@ fn render(scale: i32) -> anyhow::Result<MemoryRenderBuffer> { drop(cr); let data = surface.take_data().unwrap(); - let buffer = MemoryRenderBuffer::from_memory( + let buffer = MemoryRenderBuffer::from_slice( &data, Fourcc::Argb8888, (width, height), |
