summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerwincoumans <erwin.coumans@gmail.com>2019-04-14 14:08:35 -0700
committererwincoumans <erwin.coumans@gmail.com>2019-04-14 14:08:35 -0700
commit219970c09eeae823f7dc8a7488e58b33917db9b5 (patch)
tree80b75c3fd301f45cd0f41c11c0d987e7f2a9ffc7
parent154c65ae4d28c92786af2e958b969670c3b632d1 (diff)
downloadbullet3-219970c09eeae823f7dc8a7488e58b33917db9b5.tar.gz
fix getCameraImage in VR server using renderer=pybullet.ER_BULLET_HARDWARE_OPENGL
-rw-r--r--examples/StandaloneMain/hellovr_opengl_main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/StandaloneMain/hellovr_opengl_main.cpp b/examples/StandaloneMain/hellovr_opengl_main.cpp
index c786c737a..0f60543ba 100644
--- a/examples/StandaloneMain/hellovr_opengl_main.cpp
+++ b/examples/StandaloneMain/hellovr_opengl_main.cpp
@@ -1792,6 +1792,7 @@ void CMainApplication::RenderStereoTargets()
//m_app->drawGrid(gridUp);
+ m_app->m_instancingRenderer->setRenderFrameBuffer(0);
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glDisable(GL_MULTISAMPLE);