diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-10 10:56:14 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-10 10:56:14 +0300 |
commit | 0284392c489204096ac2a712868c43fd3f044bda (patch) | |
tree | 65abdd0623390770d5d44e750430da9e1f830daf /source/blender/gpu | |
parent | ad713dc457fc7c4e70f684e0299963ab45f6ea6d (diff) |
Cleanup: More variables unused in release
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |