diff options
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index a0432b78a7e..1016e766140 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -235,7 +235,7 @@ void GPU_material_uniform_buffer_create(GPUMaterial *material, ListBase *inputs) #ifndef NDEBUG const char *name = material->name; #else - const char *name = NULL; + const char *name = "Material"; #endif material->ubo = GPU_uniformbuf_create_from_list(inputs, name); } |