From 0386367805a78c83a8e1719c1c4193f15a12e377 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 7 Apr 2016 11:10:57 +0200 Subject: Update BGFX (nw) --- 3rdparty/bgfx/examples/04-mesh/mesh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 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 f7f8b7e96ce..3ae361d9549 100644 --- a/3rdparty/bgfx/examples/04-mesh/mesh.cpp +++ b/3rdparty/bgfx/examples/04-mesh/mesh.cpp @@ -11,7 +11,7 @@ class ExampleMesh : public entry::AppI void init(int _argc, char** _argv) BX_OVERRIDE { Args args(_argc, _argv); - + m_width = 1280; m_height = 720; m_debug = BGFX_DEBUG_TEXT; @@ -91,7 +91,7 @@ class ExampleMesh : public entry::AppI { float view[16]; bx::mtxQuatTranslationHMD(view, hmd->eye[0].rotation, eye); - bgfx::setViewTransform(0, view, hmd->eye[0].projection); + bgfx::setViewTransform(0, view, hmd->eye[0].projection, BGFX_VIEW_STEREO, hmd->eye[1].projection); // Set view 0 default viewport. // -- cgit v1.2.3-70-g09d2