Added text overlay to the example base (by default off)

This commit is contained in:
saschawillems 2016-05-15 18:31:31 +02:00
parent 99b9ff220d
commit 5266c25c33
3 changed files with 80 additions and 14 deletions

View file

@ -634,8 +634,6 @@ public:
for (int32_t i = 0; i < cmdBuffers.size(); ++i)
{
std::cout << "update text cmd buff " << i << " with fb " << *frameBuffers[i] << std::endl;
renderPassBeginInfo.framebuffer = *frameBuffers[i];
VK_CHECK_RESULT(vkBeginCommandBuffer(cmdBuffers[i], &cmdBufInfo));
@ -666,7 +664,6 @@ public:
}
// Submit the text command buffers to a queue
// Does a queue wait idle
void submit(VkQueue queue, uint32_t bufferindex, VkSubmitInfo submitInfo)
{
if (!visible)