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