summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/21-deferred/deferred.cpp
diff options
context:
space:
mode:
author Julian Sikorski <belegdol+github@gmail.com>2023-09-28 17:14:29 +0200
committer GitHub <noreply@github.com>2023-09-29 01:14:29 +1000
commit80155dfa8c8fd3ebcdb304ab97e967d276014f74 (patch)
tree1d5b3a95d29caafbcb84cddc46c155c252772bce /3rdparty/bgfx/examples/21-deferred/deferred.cpp
parent30d92e397d15c32e79c9d508c43d9f2512f414fb (diff)
3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539)
Diffstat (limited to '3rdparty/bgfx/examples/21-deferred/deferred.cpp')
-rw-r--r--3rdparty/bgfx/examples/21-deferred/deferred.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/bgfx/examples/21-deferred/deferred.cpp b/3rdparty/bgfx/examples/21-deferred/deferred.cpp
index 6c379fd3fe1..546db681c97 100644
--- a/3rdparty/bgfx/examples/21-deferred/deferred.cpp
+++ b/3rdparty/bgfx/examples/21-deferred/deferred.cpp
@@ -213,6 +213,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;