| 48 | } |
| 49 | |
| 50 | void VkRenderState::ClearScreen() |
| 51 | { |
| 52 | screen->mViewpoints->Set2D(*this, SCREENWIDTH, SCREENHEIGHT); |
| 53 | SetColor(0, 0, 0); |
| 54 | Apply(DT_TriangleStrip); |
| 55 | mCommandBuffer->draw(4, 1, FFlatVertexBuffer::FULLSCREEN_INDEX, 0); |
| 56 | } |
| 57 | |
| 58 | void VkRenderState::Draw(int dt, int index, int count, bool apply) |
| 59 | { |