diff options
author | 2023-01-04 23:29:18 -0500 | |
---|---|---|
committer | 2023-01-04 23:29:18 -0500 | |
commit | 94b1e168b2b97b48b81f7a8f64406b0a6f64184e (patch) | |
tree | f57362a0fa01bfe8f0ad75a447c4c9e10bc15756 /3rdparty/bgfx/examples/27-terrain/terrain.cpp | |
parent | 5581eaa50a42256242f32569f59ce10d70ddd8c2 (diff) |
Revert "Update BGFX, BX and BIMG (#10750)" (#10787)
This reverts commit 5581eaa50a42256242f32569f59ce10d70ddd8c2 due to link failure on macOS.
Diffstat (limited to '3rdparty/bgfx/examples/27-terrain/terrain.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/27-terrain/terrain.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/3rdparty/bgfx/examples/27-terrain/terrain.cpp b/3rdparty/bgfx/examples/27-terrain/terrain.cpp index 3b493304a4c..bcdaf16d702 100644 --- a/3rdparty/bgfx/examples/27-terrain/terrain.cpp +++ b/3rdparty/bgfx/examples/27-terrain/terrain.cpp @@ -1,15 +1,16 @@ /* * Copyright 2015 Andrew Mac. All rights reserved. - * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE + * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ -#include <bx/allocator.h> -#include <bx/debug.h> -#include <bx/math.h> #include "common.h" #include "bgfx_utils.h" #include "imgui/imgui.h" #include "camera.h" +#include "bounds.h" +#include <bx/allocator.h> +#include <bx/debug.h> +#include <bx/math.h> namespace { @@ -78,8 +79,6 @@ ExampleTerrain(const char* _name, const char* _description, const char* _url) 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; |