From 80155dfa8c8fd3ebcdb304ab97e967d276014f74 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Thu, 28 Sep 2023 17:14:29 +0200 Subject: 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) --- 3rdparty/bgfx/examples/00-helloworld/helloworld.cpp | 1 + 1 file changed, 1 insertion(+) (limited to '3rdparty/bgfx/examples/00-helloworld/helloworld.cpp') diff --git a/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp b/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp index 97a79463357..68815ba347d 100644 --- a/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp +++ b/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp @@ -34,6 +34,7 @@ public: init.vendorId = args.m_pciId; init.platformData.nwh = entry::getNativeWindowHandle(entry::kDefaultWindowHandle); init.platformData.ndt = entry::getNativeDisplayHandle(); + init.platformData.type = entry::getNativeWindowHandleType(entry::kDefaultWindowHandle); init.resolution.width = m_width; init.resolution.height = m_height; init.resolution.reset = m_reset; -- cgit v1.2.3-70-g09d2