Fixing projection matrix in examples.

This commit is contained in:
Branimir Karadžić
2017-02-22 22:26:39 -08:00
parent 2e3bdc619e
commit d96225a1f0
20 changed files with 23 additions and 23 deletions

View File

@@ -200,7 +200,7 @@ int _main_(int _argc, char** _argv)
bx::mtxLookAt(view, eye, at);
const float aspect = float(int32_t(width) ) / float(int32_t(height) );
bx::mtxProj(proj, 60.0f, aspect, 0.1f, 1000.0f, flipV);
bx::mtxProj(proj, 60.0f, aspect, 0.1f, 1000.0f, bgfx::getCaps()->homogeneousDepth);
// Time acumulators.
float timeAccumulatorLight = 0.0f;