diff options
Diffstat (limited to 'src/osx/headless.rs')
-rw-r--r-- | src/osx/headless.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osx/headless.rs b/src/osx/headless.rs index 1332cf3..39c8f50 100644 --- a/src/osx/headless.rs +++ b/src/osx/headless.rs @@ -1,6 +1,6 @@ use CreationError; use CreationError::OsError; -use HeadlessRendererBuilder; +use BuilderAttribs; use libc; use std::ptr; @@ -30,7 +30,7 @@ pub struct HeadlessContext { } impl HeadlessContext { - pub fn new(builder: HeadlessRendererBuilder) -> Result<HeadlessContext, CreationError> { + pub fn new(builder: BuilderAttribs) -> Result<HeadlessContext, CreationError> { let (width, height) = builder.dimensions; let context = unsafe { let attributes = [ |