MCPcopy Create free account
hub / github.com/aliasIsolation/aliasIsolation / Present_hook

Function Present_hook

src/dll/rendering.cpp:263–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261// ----------------------------------------------------------------------------------------------------------------
262
263HRESULT WINAPI Present_hook(IDXGISwapChain *swapChain, UINT SyncInterval, UINT Flags)
264{
265 ZoneScopedN(__FUNCTION__);
266
267 {
268 ZoneScopedN("Present_hook Menu::DrawMenu");
269 Menu::DrawMenu();
270 }
271
272 const HRESULT ret = g_d3dHookOrig.Present(swapChain, SyncInterval, Flags);
273
274 TracyD3D11Collect(g_tracyD3D11Ctx);
275
276 return ret;
277}
278
279// ----------------------------------------------------------------------------------------------------------------
280

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected