Return OpenGL window on macOS and Linux.
This commit is contained in:
parent
0134685622
commit
98ba824bde
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ constexpr auto kUseNativeChild = ::Platform::IsWindows();
|
|||
} // namespace
|
||||
|
||||
Window::Window()
|
||||
: _window(std::make_unique<Ui::Window>())
|
||||
: _window(createWindow())
|
||||
, _bodyNativeWrap(createNativeBodyWrap())
|
||||
, _body(_bodyNativeWrap ? _bodyNativeWrap.get() : _window->body().get()) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue