diff options
author | 2023-09-28 17:14:29 +0200 | |
---|---|---|
committer | 2023-09-29 01:14:29 +1000 | |
commit | 80155dfa8c8fd3ebcdb304ab97e967d276014f74 (patch) | |
tree | 1d5b3a95d29caafbcb84cddc46c155c252772bce /3rdparty/bgfx/examples/09-hdr/hdr.cpp | |
parent | 30d92e397d15c32e79c9d508c43d9f2512f414fb (diff) |
3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539)
Diffstat (limited to '3rdparty/bgfx/examples/09-hdr/hdr.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/09-hdr/hdr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/bgfx/examples/09-hdr/hdr.cpp b/3rdparty/bgfx/examples/09-hdr/hdr.cpp index 6184611b4c0..e76fbd61259 100644 --- a/3rdparty/bgfx/examples/09-hdr/hdr.cpp +++ b/3rdparty/bgfx/examples/09-hdr/hdr.cpp @@ -159,6 +159,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; |