[Bf-blender-cvs] [d027db16e30] tmp-overlay-engine: Cleanup: Fix debug Compilation warning
Clément Foucault
noreply at git.blender.org
Sun Nov 24 02:03:00 CET 2019
Commit: d027db16e309ea650994af563a51d730a5461a69
Author: Clément Foucault
Date: Fri Nov 22 01:32:40 2019 +0100
Branches: tmp-overlay-engine
https://developer.blender.org/rBd027db16e309ea650994af563a51d730a5461a69
Cleanup: Fix debug Compilation warning
===================================================================
M source/blender/gpu/intern/gpu_batch.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_batch.c b/source/blender/gpu/intern/gpu_batch.c
index 2181ce7d00e..8b372c0b110 100644
--- a/source/blender/gpu/intern/gpu_batch.c
+++ b/source/blender/gpu/intern/gpu_batch.c
@@ -220,7 +220,7 @@ int GPU_batch_instbuf_add_ex(GPUBatch *batch, GPUVertBuf *insts, bool own_vbo)
if (batch->inst[0] != NULL) {
/* Allow for different size of vertex buf (will choose the smallest number of verts). */
// assert(insts->vertex_len == batch->inst[0]->vertex_len);
- assert(own_vbo == (batch->owns_flag & GPU_BATCH_OWNS_INSTANCES) != 0);
+ assert(own_vbo == ((batch->owns_flag & GPU_BATCH_OWNS_INSTANCES) != 0));
}
#endif
batch->inst[v] = insts;
More information about the Bf-blender-cvs
mailing list