Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-08-29 02:33:55 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-08-30 14:11:02 +0300
commit832a975c2cd8e0cf50a7df322633d3851d99549e (patch)
treeb6e1ed3b096d2c23df63746896d997efed172b86 /source/blender/gpu/intern/gpu_uniform_buffer_private.hh
parentf69c7a7ff99374574e37021117c6247e002d60d9 (diff)
GPUUniformBuf: Fix debug name being shorter than release name
Diffstat (limited to 'source/blender/gpu/intern/gpu_uniform_buffer_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_uniform_buffer_private.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_uniform_buffer_private.hh b/source/blender/gpu/intern/gpu_uniform_buffer_private.hh
index 288cbae526e..cf6447ccd37 100644
--- a/source/blender/gpu/intern/gpu_uniform_buffer_private.hh
+++ b/source/blender/gpu/intern/gpu_uniform_buffer_private.hh
@@ -28,9 +28,9 @@ namespace blender {
namespace gpu {
#ifdef DEBUG
-# define DEBUG_NAME_LEN 8
-#else
# define DEBUG_NAME_LEN 64
+#else
+# define DEBUG_NAME_LEN 8
#endif
/**