summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/47-pixelformats/pixelformats.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/47-pixelformats/pixelformats.cpp')
-rw-r--r--3rdparty/bgfx/examples/47-pixelformats/pixelformats.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/bgfx/examples/47-pixelformats/pixelformats.cpp b/3rdparty/bgfx/examples/47-pixelformats/pixelformats.cpp
index 7a78f36723d..98c27558b29 100644
--- a/3rdparty/bgfx/examples/47-pixelformats/pixelformats.cpp
+++ b/3rdparty/bgfx/examples/47-pixelformats/pixelformats.cpp
@@ -430,6 +430,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;