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:
authorClément Foucault <foucault.clem@gmail.com>2018-03-16 10:50:05 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-03-16 10:50:31 +0300
commit7e954d974a5955bd347f1dd070660d45af6ea789 (patch)
treec5b861ce30e0383d734c9f6dba2913921ab67565 /intern/gawain
parent53f8c47c495e86959cbe2c507822759ba6080a6f (diff)
GWN: Uncomment a (now) usefull assert
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