Brought D3D11/12 in sync for instanced rendering

This commit is contained in:
Jack Andersen
2015-11-27 12:14:05 -10:00
parent 3fb2a27572
commit 6806be2067
3 changed files with 447 additions and 85 deletions

View File

@@ -437,6 +437,7 @@ struct TestApplicationCallback : IApplicationCallback
r.location[0] = 0;
r.location[1] = 0;
gfxQ->setViewport(r);
gfxQ->setScissor(r);
float rgba[] = {sinf(frameIdx / 60.0), cosf(frameIdx / 60.0), 0.0, 1.0};
gfxQ->setClearColor(rgba);
gfxQ->clearTarget();