Beginning refactoring of KRTexture for Vulkan. Added KRTexture::TextureHandle.

This commit is contained in:
2022-07-13 23:24:46 -07:00
parent 0382c15fe3
commit 85847fd2e0
4 changed files with 31 additions and 9 deletions

View File

@@ -587,6 +587,9 @@ void KRCamera::renderPost(VkCommandBuffer& commandBuffer, KRSurface& surface)
// GLDEBUG(glBindTexture(GL_TEXTURE_2D, 0));
// }
// TODO - Test code for Vulkan conversion, remove once texture streaming working
// m_pContext->getTextureManager()->selectTexture(0, m_pContext->getTextureManager()->getTexture("font"), 0.0f, KRTexture::TEXTURE_USAGE_UI);
const char *szText = settings.m_debug_text.c_str();
std::string debug_text;