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

Method CreateRenderTarget

src/dll/menu.cpp:441–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441void Menu::CreateRenderTarget()
442{
443 ID3D11Texture2D *pBackBuffer;
444 DX_CHECK(g_pSwapChain->GetBuffer(0, IID_PPV_ARGS(&pBackBuffer)));
445 DX_CHECK(g_pd3dDevice->CreateRenderTargetView(pBackBuffer, nullptr, &g_mainRenderTargetView));
446 pBackBuffer->Release();
447}
448
449void Menu::CleanupRenderTarget()
450{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected