[Bf-blender-cvs] [0284392c489] blender2.8: Cleanup: More variables unused in release
Sergey Sharybin
noreply at git.blender.org
Mon Sep 10 09:56:25 CEST 2018
Commit: 0284392c489204096ac2a712868c43fd3f044bda
Author: Sergey Sharybin
Date: Mon Sep 10 09:56:14 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB0284392c489204096ac2a712868c43fd3f044bda
Cleanup: More variables unused in release
===================================================================
M source/blender/gpu/intern/gpu_material.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index b03df2c643c..3f5d3282f0c 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -153,6 +153,7 @@ GPUTexture **gpu_material_ramp_texture_row_set(GPUMaterial *mat, int size, float
/* In order to put all the colorbands into one 1D array texture,
* we need them to be the same size. */
BLI_assert(size == CM_TABLE + 1);
+ UNUSED_VARS_NDEBUG(size);
if (mat->coba_builder == NULL) {
mat->coba_builder = MEM_mallocN(sizeof(GPUColorBandBuilder), "GPUColorBandBuilder");
More information about the Bf-blender-cvs
mailing list