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

Function SetupDeviceAndContext

src/dll/menu.cpp:433–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433static void SetupDeviceAndContext(IDXGISwapChain &swapChain)
434{
435 g_pSwapChain = &swapChain;
436
437 DX_CHECK(g_pSwapChain->GetDevice(__uuidof(ID3D11Device), reinterpret_cast<void **>(&g_pd3dDevice)))
438 g_pd3dDevice->GetImmediateContext(&g_pd3dDeviceContext);
439}
440
441void Menu::CreateRenderTarget()
442{

Callers 1

InitMenuMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected