diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_draw.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index c3c05c39c00..4830b994415 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -1044,8 +1044,9 @@ static GPUTexture *create_flame_texture(SmokeDomainSettings *sds, int highres) smoke_has_fuel(sds->fluid); int *dim = (highres) ? sds->res_wt : sds->res; - if (!has_fuel) + if (!has_fuel) { return NULL; + } if (highres) { source = smoke_turbulence_get_flame(sds->wt); |