Rename SoftBufferError to SwBufError

This commit is contained in:
Jeremy Soller 2022-12-20 07:10:11 -07:00
parent 33fe3ae3c7
commit 95e8d05902
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
8 changed files with 25 additions and 25 deletions

View file

@ -7,7 +7,7 @@ use std::{
};
use crate::GraphicsContextImpl;
use crate::SoftBufferError;
use crate::SwBufError;
struct OrbitalMap {
address: usize,
@ -47,7 +47,7 @@ pub struct OrbitalImpl {
}
impl OrbitalImpl {
pub fn new<W: HasRawWindowHandle>(handle: OrbitalWindowHandle) -> Result<Self, SoftBufferError<W>> {
pub fn new<W: HasRawWindowHandle>(handle: OrbitalWindowHandle) -> Result<Self, SwBufError<W>> {
Ok(Self { handle })
}
}