mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
Remove unused variable on Metal code path.
This commit is contained in:
parent
81b6f42941
commit
b21a0c12af
@ -163,7 +163,6 @@ int main() {
|
||||
{
|
||||
id metal_layer = NULL;
|
||||
NSWindow *ns_window = glfwGetCocoaWindow(window);
|
||||
CALayer *layer = ns_window.contentView.layer;
|
||||
[ns_window.contentView setWantsLayer:YES];
|
||||
metal_layer = [CAMetalLayer layer];
|
||||
[ns_window.contentView setLayer:metal_layer];
|
||||
|
Loading…
Reference in New Issue
Block a user