From 406d927f6b11e601cb17be63236daa9d2549b549 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 29 Jan 2019 08:57:06 +0100 Subject: [PATCH] (D3D11) Comment out performance counter --- gfx/drivers/d3d11.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/drivers/d3d11.c b/gfx/drivers/d3d11.c index f4b5a1699d..e7e1c54e53 100644 --- a/gfx/drivers/d3d11.c +++ b/gfx/drivers/d3d11.c @@ -1207,7 +1207,9 @@ static bool d3d11_gfx_frame( D3D11SetRenderTargets(context, 1, &d3d11->renderTargetView, NULL); #endif +#if 0 PERF_START(); +#endif #if 0 /* custom viewport doesn't call apply_state_changes, so we can't rely on this for now */ if (d3d11->resize_viewport) @@ -1471,7 +1473,9 @@ static bool d3d11_gfx_frame( } d3d11->sprites.enabled = false; +#if 0 PERF_STOP(); +#endif DXGIPresent(d3d11->swapChain, !!d3d11->vsync, 0); return true;