Commit: 162ef15da6da4027ce59ef0b93d3234524d1cdf8 Author: Clément Foucault Date: Mon Mar 5 00:49:24 2018 +0100 Branches: blender2.8 https://developer.blender.org/rB162ef15da6da4027ce59ef0b93d3234524d1cdf8
Eevee: Fix bad framebuffer when changing probe resolution. =================================================================== M source/blender/draw/engines/eevee/eevee_lightprobes.c =================================================================== diff --git a/source/blender/draw/engines/eevee/eevee_lightprobes.c b/source/blender/draw/engines/eevee/eevee_lightprobes.c index 9e5aa56b220..dd4dc590b10 100644 --- a/source/blender/draw/engines/eevee/eevee_lightprobes.c +++ b/source/blender/draw/engines/eevee/eevee_lightprobes.c @@ -321,8 +321,10 @@ void EEVEE_lightprobes_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *UNUSED(veda sldata->probes->target_size = prop_cubemap_res >> 1; + DRW_TEXTURE_FREE_SAFE(sldata->probe_depth_rt); DRW_TEXTURE_FREE_SAFE(sldata->probe_rt); DRW_TEXTURE_FREE_SAFE(sldata->probe_pool); + DRW_FRAMEBUFFER_FREE_SAFE(sldata->probe_fb); } int visibility_res = BKE_collection_engine_property_value_get_int(props, "gi_visibility_resolution"); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs