mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Merge pull request #791 from mitchmindtree/remove_unused_private_fields
Remove unused private fields from cocoa HeadlessContext struct.
This commit is contained in:
commit
572af951e9
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue