diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-06-07 11:52:38 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-06-07 11:52:38 +0300 |
commit | 4637f3e83c3427ee76aed19656f7d4efb1169463 (patch) | |
tree | 1f107a072ebb3e6cbd0ce2ff8acdcc7e8397354e /source/blender/gpu | |
parent | dcbbdc89ead67a1436d565d22f07335881162730 (diff) | |
parent | 58d350b4892dcaabfcd730fbc0d8d90b90b55ccc (diff) |
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 23028f58059..808a8ccd955 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -750,6 +750,9 @@ void GPU_material_compile(GPUMaterial *mat) mat->status = GPU_MAT_SUCCESS; gpu_node_graph_free_nodes(&mat->graph); } + else { + mat->status = GPU_MAT_FAILED; + } } else { mat->status = GPU_MAT_FAILED; |