Add Windows and Linux support to the 'layers' example (#126105)
Enables running the `layers` example on Linux and Windows. Part of https://github.com/flutter/flutter/issues/126033
This commit is contained in:
10
examples/layers/linux/main.cc
Normal file
10
examples/layers/linux/main.cc
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2014 The Flutter Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "my_application.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
g_autoptr(MyApplication) app = my_application_new();
|
||||
return g_application_run(G_APPLICATION(app), argc, argv);
|
||||
}
|
||||
Reference in New Issue
Block a user