Remove unused variable on Metal code path.

This commit is contained in:
Bruce Mitchener 2019-05-24 14:46:11 +07:00
parent 81b6f42941
commit b21a0c12af

View File

@ -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];