[Bf-blender-cvs] [7e954d974a5] blender2.8: GWN: Uncomment a (now) usefull assert

Clément Foucault noreply at git.blender.org
Fri Mar 16 08:50:40 CET 2018


Commit: 7e954d974a5955bd347f1dd070660d45af6ea789
Author: Clément Foucault
Date:   Fri Mar 16 08:50:05 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB7e954d974a5955bd347f1dd070660d45af6ea789

GWN: Uncomment a (now) usefull assert

===================================================================

M	intern/gawain/src/gwn_batch.c

===================================================================

diff --git a/intern/gawain/src/gwn_batch.c b/intern/gawain/src/gwn_batch.c
index 062cdd5e63e..c720ba967b5 100644
--- a/intern/gawain/src/gwn_batch.c
+++ b/intern/gawain/src/gwn_batch.c
@@ -211,7 +211,7 @@ static GLuint batch_vao_get(Gwn_Batch *batch)
 		batch->context = GWN_context_active_get();
 		gwn_context_add_batch(batch->context, batch);
 		}
-#if TRUST_NO_ONE && 0 // disabled until we use a separate single context for UI.
+#if TRUST_NO_ONE
 	else // Make sure you are not trying to draw this batch in another context.
 		assert(batch->context == GWN_context_active_get());
 #endif



More information about the Bf-blender-cvs mailing list