MCPcopy Create free account
hub / github.com/beefytech/Beef / Present

Method Present

BeefySysLib/platform/win/DXRenderDevice.cpp:1804–1810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1802}
1803
1804void DXRenderWindow::Present()
1805{
1806 HRESULT hr = mDXSwapChain->Present((mWindow->mFlags & BFWINDOW_VSYNC) ? 1 : 0, 0);
1807
1808 if ((hr == DXGI_ERROR_DEVICE_REMOVED) || (hr == DXGI_ERROR_DEVICE_RESET))
1809 ((DXRenderDevice*)mRenderDevice)->mNeedsReinitNative = true;
1810}
1811
1812void DXRenderWindow::CopyBitsTo(uint32* dest, int width, int height)
1813{

Callers 1

FrameEndMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected