fix VR controllers only visible in one eye (remove stray glClear for testing planar reflection)

PyBullet: force both contactStiffness and contactDamping (report error otherwise)
This commit is contained in:
erwincoumans
2018-05-16 14:24:12 -07:00
parent b432daed65
commit 034dfba3ae
3 changed files with 10 additions and 4 deletions

View File

@@ -119,9 +119,9 @@ void Win32OpenGLWindow::closeWindow()
void Win32OpenGLWindow::startRendering()
{
pumpMessage();
//don't clear all 3 buffers because some AMD drivers are buggy
//glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT);
//glCullFace(GL_BACK);