Rename SwBufError back to SoftBufferError
This seems to be the last thing left over from the `swbuf` rename.
This commit is contained in:
parent
0109b1538a
commit
fc1bba64ab
8 changed files with 37 additions and 34 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use crate::SwBufError;
|
||||
use crate::SoftBufferError;
|
||||
use core_graphics::base::{
|
||||
kCGBitmapByteOrder32Little, kCGImageAlphaNoneSkipFirst, kCGRenderingIntentDefault,
|
||||
};
|
||||
|
|
@ -19,7 +19,7 @@ pub struct CGImpl {
|
|||
}
|
||||
|
||||
impl CGImpl {
|
||||
pub unsafe fn new(handle: AppKitWindowHandle) -> Result<Self, SwBufError> {
|
||||
pub unsafe fn new(handle: AppKitWindowHandle) -> Result<Self, SoftBufferError> {
|
||||
let window = handle.ns_window as id;
|
||||
let view = handle.ns_view as id;
|
||||
let layer = CALayer::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue