From 7e954d974a5955bd347f1dd070660d45af6ea789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Fri, 16 Mar 2018 08:50:05 +0100 Subject: GWN: Uncomment a (now) usefull assert --- intern/gawain/src/gwn_batch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/gawain') 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 -- cgit v1.2.3