mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 22:30:04 -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 PlatformSpecificHeadlessBuilderAttributes;
|
||||||
|
|
||||||
pub struct HeadlessContext {
|
pub struct HeadlessContext {
|
||||||
width: u32,
|
|
||||||
height: u32,
|
|
||||||
context: id,
|
context: id,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,8 +42,6 @@ impl HeadlessContext {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let headless = HeadlessContext {
|
let headless = HeadlessContext {
|
||||||
width: width,
|
|
||||||
height: height,
|
|
||||||
context: context,
|
context: context,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user