| 212 | } |
| 213 | |
| 214 | void Graphics::BeginFrame() |
| 215 | { |
| 216 | static const float clearColor[] = { 0.f, 0.f, 0.f, 0.f }; |
| 217 | pContext3d->ClearRenderTargetView(pTarget.Get(), clearColor); |
| 218 | pContext3d->OMSetRenderTargets(1, pTarget.GetAddressOf(), nullptr); |
| 219 | fastRenderer->StartFrame(*pContext3d); |
| 220 | pContext2d->BeginDraw(); |
| 221 | } |
| 222 | |
| 223 | void Graphics::EndFrame() |
| 224 | { |
no test coverage detected