Skip to content

Commit 9ea8f8a

Browse files
committed
cleanup
1 parent 42463e6 commit 9ea8f8a

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

src/wayland_display.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1+
// Copyright 2020 Joel Winarske. All rights reserved.
12
// Copyright 2018 The Flutter Authors. All rights reserved.
23
// Use of this source code is governed by a BSD-style license that can be
34
// found in the LICENSE file.
45

5-
#ifndef WL_EGL_PLATFORM
6-
#define WL_EGL_PLATFORM 1
7-
#endif
86

97
#include "wayland_display.h"
108
#include "utils.h"

src/wayland_display.h

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2020 Joel Winarske. All rights reserved.
12
// Copyright 2018 The Flutter Authors. All rights reserved.
23
// Use of this source code is governed by a BSD-style license that can be
34
// found in the LICENSE file.
@@ -13,7 +14,6 @@
1314
#include <wayland-egl.hpp>
1415

1516
#include <GLES3/gl3.h>
16-
//#include <EGL/egl.h>
1717

1818
#include <linux/input.h>
1919

@@ -27,17 +27,7 @@
2727
using namespace wayland;
2828

2929
namespace flutter {
30-
#if 0
31-
// helper to create a std::function out of a member function and an object
32-
template <typename R, typename T, typename... Args>
33-
std::function<R(Args...)> bind_mem_fn(R(T::* func)(Args...), T *t)
34-
{
35-
return [func, t] (Args... args)
36-
{
37-
return (t->*func)(args...);
38-
};
39-
}
40-
#endif
30+
4131
class WaylandDisplay {
4232
public:
4333

0 commit comments

Comments
 (0)