Rename SwBufError back to SoftBufferError

This seems to be the last thing left over from the `swbuf` rename.
This commit is contained in:
Ian Douglas Scott 2022-12-27 12:23:27 -08:00
parent 0109b1538a
commit fc1bba64ab
8 changed files with 37 additions and 34 deletions

View file

@ -1,4 +1,4 @@
use crate::{error::unwrap, SwBufError};
use crate::{error::unwrap, SoftBufferError};
use raw_window_handle::{WaylandDisplayHandle, WaylandWindowHandle};
use std::collections::VecDeque;
use wayland_client::{
@ -26,7 +26,7 @@ impl WaylandImpl {
pub unsafe fn new(
window_handle: WaylandWindowHandle,
display_handle: WaylandDisplayHandle,
) -> Result<Self, SwBufError> {
) -> Result<Self, SoftBufferError> {
// SAFETY: Ensured by user
let backend = unsafe { Backend::from_foreign_display(display_handle.display as *mut _) };
let conn = Connection::from_backend(backend);