Cleanup: More variables unused in release

This commit is contained in:
Sergey Sharybin 2018-09-10 09:56:14 +02:00
parent ad713dc457
commit 0284392c48
Notes: blender-bot 2023-02-14 05:19:55 +01:00
Referenced by issue #56741, Color Picker Value Bug
1 changed files with 1 additions and 0 deletions

View File

@ -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");