完成双贴图效果,修改闪退的bug,换成赴宴的贴图
This commit is contained in:
@@ -737,10 +737,6 @@ void Application::createTexture(VkDevice device, VkPhysicalDevice physicalDevice
|
||||
|
||||
void Application::processWithVulkan(uint8_t* data, int width, int height, int rowStride, size_t dataSize, Texture& out_texture, bool srgb)
|
||||
{
|
||||
if(!isInited())
|
||||
{
|
||||
return;
|
||||
}
|
||||
std::unique_lock<std::mutex> lock(mtx);
|
||||
if (out_texture.image == VK_NULL_HANDLE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user