From 0d1f65e5166c4822d9e01e7d3ce20f7df972550b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Fri, 23 Oct 2020 19:29:27 +0200 Subject: GPU: Use CLOG to for debug output This removes the escape color control caracters when the output does not supports it (i.e: file output, windows cmd). --- source/blender/gpu/intern/gpu_shader_interface.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/gpu/intern/gpu_shader_interface.cc') diff --git a/source/blender/gpu/intern/gpu_shader_interface.cc b/source/blender/gpu/intern/gpu_shader_interface.cc index 4a7c7bc15a3..e5fb8025e7f 100644 --- a/source/blender/gpu/intern/gpu_shader_interface.cc +++ b/source/blender/gpu/intern/gpu_shader_interface.cc @@ -85,7 +85,6 @@ void ShaderInterface::debug_print(void) char *name_buf = name_buffer_; const char format[] = " | %.8x : %4d : %s\n"; - printf(" \033[1mGPUShaderInterface : \033[0m\n"); if (attrs.size() > 0) { printf("\n Attributes :\n"); } -- cgit v1.2.3