From 5581eaa50a42256242f32569f59ce10d70ddd8c2 Mon Sep 17 00:00:00 2001 From: Miodrag Milanović Date: Thu, 5 Jan 2023 05:12:10 +0100 Subject: Update BGFX, BX and BIMG (#10750) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update to bgfx a93a714632b79b5ddbf5c86ac323fa9b76ed3433 Co-authored-by: Бранимир Караџић --- 3rdparty/bgfx/examples/00-helloworld/helloworld.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (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 7ecee4aca36..97a79463357 100644 --- a/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp +++ b/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp @@ -1,6 +1,6 @@ /* - * Copyright 2011-2021 Branimir Karadzic. All rights reserved. - * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause + * Copyright 2011-2022 Branimir Karadzic. All rights reserved. + * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE */ #include @@ -32,6 +32,8 @@ public: bgfx::Init init; init.type = args.m_type; init.vendorId = args.m_pciId; + init.platformData.nwh = entry::getNativeWindowHandle(entry::kDefaultWindowHandle); + init.platformData.ndt = entry::getNativeDisplayHandle(); init.resolution.width = m_width; init.resolution.height = m_height; init.resolution.reset = m_reset; -- cgit v1.2.3-70-g09d2