mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Merge pull request #791 from mitchmindtree/remove_unused_private_fields
Remove unused private fields from cocoa HeadlessContext struct.
This commit is contained in:
@@ -17,8 +17,6 @@ use api::cocoa::helpers;
|
||||
pub struct PlatformSpecificHeadlessBuilderAttributes;
|
||||
|
||||
pub struct HeadlessContext {
|
||||
width: u32,
|
||||
height: u32,
|
||||
context: id,
|
||||
}
|
||||
|
||||
@@ -44,8 +42,6 @@ impl HeadlessContext {
|
||||
};
|
||||
|
||||
let headless = HeadlessContext {
|
||||
width: width,
|
||||
height: height,
|
||||
context: context,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user