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/06-bump/bump.cpp | |
parent | dc885b1996a0f678d456d18cf54f03d06571bbf5 (diff) |
Update BGFX (nw)
Diffstat (limited to '3rdparty/bgfx/examples/06-bump/bump.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/06-bump/bump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/bgfx/examples/06-bump/bump.cpp b/3rdparty/bgfx/examples/06-bump/bump.cpp index da6cff3d78e..71e06c8d99a 100644 --- a/3rdparty/bgfx/examples/06-bump/bump.cpp +++ b/3rdparty/bgfx/examples/06-bump/bump.cpp @@ -108,7 +108,7 @@ class ExampleBump : 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; @@ -225,7 +225,7 @@ class ExampleBump : 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. // |