add back the 'swapBuffers' in VR demo (slightly lower performance, but easier to use demo.

fix issue related to TinyRenderer shadowbuffer API change
This commit is contained in:
erwincoumans
2016-12-02 13:23:50 -08:00
parent 08c9bf88e9
commit e5aea04e23
3 changed files with 2 additions and 3 deletions

View File

@@ -147,7 +147,6 @@ int main(int argc, char* argv[])
renderData.m_rgbColorBuffer.set(x,y,color);
renderData.m_depthBuffer[x+y*textureWidth] = -1e30f;
renderData.m_shadowBuffer[x+y*textureWidth] = -1e30f;
}
}