summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/02-metaballs/metaballs.cpp
diff options
context:
space:
mode:
author Branimir Karadžić <branimirkaradzic@gmail.com>2016-04-04 13:52:25 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-04 13:52:25 +0200
commite63f379a0ef420cf720b7655ea63e19330954eb8 (patch)
tree1c51de36d7fbd9f5218b165b71f3ec9aa1bcfe36 /3rdparty/bgfx/examples/02-metaballs/metaballs.cpp
parent9496a5b24d7fb14dcb38bd16ec8ca528ebdfee1b (diff)
Update BGFX to latest (nw)
Diffstat (limited to '3rdparty/bgfx/examples/02-metaballs/metaballs.cpp')
-rw-r--r--3rdparty/bgfx/examples/02-metaballs/metaballs.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/3rdparty/bgfx/examples/02-metaballs/metaballs.cpp b/3rdparty/bgfx/examples/02-metaballs/metaballs.cpp
index bedf55497eb..f0f20e39cc9 100644
--- a/3rdparty/bgfx/examples/02-metaballs/metaballs.cpp
+++ b/3rdparty/bgfx/examples/02-metaballs/metaballs.cpp
@@ -577,11 +577,7 @@ class ExampleMetaballs : public entry::AppI
{
float view[16];
bx::mtxQuatTranslationHMD(view, hmd->eye[0].rotation, eye);
-
- float proj[16];
- bx::mtxProj(proj, hmd->eye[0].fov, 0.1f, 100.0f);
-
- bgfx::setViewTransform(0, view, proj);
+ bgfx::setViewTransform(0, view, hmd->eye[0].projection);
// Set view 0 default viewport.
//