Making the GPU counter a vblank counter, not a timer.

This commit is contained in:
Ben Vanik
2013-10-20 02:00:51 -07:00
parent 39adeef2e3
commit fbea5a6394
6 changed files with 18 additions and 8 deletions

View File

@@ -22,6 +22,7 @@ using namespace xe::gpu::d3d11;
namespace {
void __stdcall D3D11GraphicsSystemVsyncCallback(D3D11GraphicsSystem* gs, BOOLEAN) {
gs->MarkVblank();
gs->DispatchInterruptCallback(0);
}