From e63f379a0ef420cf720b7655ea63e19330954eb8 Mon Sep 17 00:00:00 2001 From: Branimir Karadžić Date: Mon, 4 Apr 2016 13:52:25 +0200 Subject: Update BGFX to latest (nw) --- 3rdparty/bgfx/examples/04-mesh/mesh.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '3rdparty/bgfx/examples/04-mesh/mesh.cpp') diff --git a/3rdparty/bgfx/examples/04-mesh/mesh.cpp b/3rdparty/bgfx/examples/04-mesh/mesh.cpp index bfe61df6a3f..f7f8b7e96ce 100644 --- a/3rdparty/bgfx/examples/04-mesh/mesh.cpp +++ b/3rdparty/bgfx/examples/04-mesh/mesh.cpp @@ -91,11 +91,7 @@ class ExampleMesh : 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. // -- cgit v1.2.3-70-g09d2