vulkan: missing BeginFrame call

This commit is contained in:
Flyinghead 2019-12-07 22:13:22 +01:00
parent 9acbfae25d
commit a331c7bd84
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ public:
} }
else else
{ {
texCommandPool.BeginFrame();
vjoyTexture = std::unique_ptr<Texture>(new Texture()); vjoyTexture = std::unique_ptr<Texture>(new Texture());
vjoyTexture->tex_type = TextureType::_8888; vjoyTexture->tex_type = TextureType::_8888;
vjoyTexture->tcw.full = 0; vjoyTexture->tcw.full = 0;

View File

@ -67,6 +67,7 @@ public:
} }
else else
{ {
texCommandPool.BeginFrame();
vjoyTexture = std::unique_ptr<Texture>(new Texture()); vjoyTexture = std::unique_ptr<Texture>(new Texture());
vjoyTexture->tex_type = TextureType::_8888; vjoyTexture->tex_type = TextureType::_8888;
vjoyTexture->tcw.full = 0; vjoyTexture->tcw.full = 0;