ClearRenderTargetView doesn't work

Started by
-1 comments, last by shamexln 8 years, 7 months ago

Within Microsoft sample, it does work.

the background color is changed with second parameter.(Full-Screen)

But in my code, it doesn't work(background of control (static control))

I fill width and height of the DXGI_SWAP_CHAIN_DESC with the width and height of the static control.

But doesn't work.

m_spContext->ClearRenderTargetView(m_spRenderTargetView, Colors::Lime);

m_spDXGISwapChain->Present(0,0);

This topic is closed to new replies.

Advertisement