Vulkan: Initialize a texture's framebuffer to nullptr

This commit is contained in:
DrChat 2017-08-06 12:47:34 -05:00
parent 90bd08ffd1
commit eb022939d1
1 changed files with 1 additions and 0 deletions

View File

@ -407,6 +407,7 @@ TextureCache::Texture* TextureCache::AllocateTexture(
texture->image_memory = memory;
texture->memory_offset = 0;
texture->memory_size = mem_requirements.size;
texture->framebuffer = nullptr;
texture->access_watch_handle = 0;
texture->texture_info = texture_info;
return texture;