2
0
luboslenco 1 сар өмнө
parent
commit
4f8d37e245

+ 1 - 0
base/sources/backends/direct3d12_gpu.c

@@ -803,6 +803,7 @@ void gpu_texture_init_from_bytes(gpu_texture_t *texture, void *data, int width,
 	texture->format = format;
 	texture->state = GPU_TEXTURE_STATE_SHADER_RESOURCE;
 	texture->buffer = NULL;
+	texture->impl.rtv_descriptor_heap = NULL;
 	DXGI_FORMAT dxgi_format = convert_format(format);
 	int format_size = gpu_texture_format_size(format);