diff options
author | 2016-04-07 11:10:57 +0200 | |
---|---|---|
committer | 2016-04-07 11:10:57 +0200 | |
commit | 0386367805a78c83a8e1719c1c4193f15a12e377 (patch) | |
tree | ed17c2f34b099ed35b9a05cdbb75e89f4dd4a777 /3rdparty/bgfx/examples/04-mesh/mesh.cpp | |
parent | dc885b1996a0f678d456d18cf54f03d06571bbf5 (diff) |
Update BGFX (nw)
Diffstat (limited to '3rdparty/bgfx/examples/04-mesh/mesh.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/04-mesh/mesh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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. // |