Merge pull request #791 from mitchmindtree/remove_unused_private_fields

Remove unused private fields from cocoa HeadlessContext struct.
This commit is contained in:
tomaka 2016-06-22 07:43:17 +02:00 committed by GitHub
commit 572af951e9

View file

@ -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,
};