Vulkan: Initialize a texture's framebuffer to nullptr
This commit is contained in:
@@ -407,6 +407,7 @@ TextureCache::Texture* TextureCache::AllocateTexture(
|
|||||||
texture->image_memory = memory;
|
texture->image_memory = memory;
|
||||||
texture->memory_offset = 0;
|
texture->memory_offset = 0;
|
||||||
texture->memory_size = mem_requirements.size;
|
texture->memory_size = mem_requirements.size;
|
||||||
|
texture->framebuffer = nullptr;
|
||||||
texture->access_watch_handle = 0;
|
texture->access_watch_handle = 0;
|
||||||
texture->texture_info = texture_info;
|
texture->texture_info = texture_info;
|
||||||
return texture;
|
return texture;
|
||||||
|
|||||||
Reference in New Issue
Block a user