Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/gawain')
-rw-r--r--intern/gawain/src/gwn_batch.c2
1 files changed, 1 insertions, 1 deletions
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