From a9fb183901f7d64bf5435a28bdb454b1f800cf6a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 May 2013 12:58:11 +0000 Subject: rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done() was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was --- source/blender/gpu/intern/gpu_codegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/intern/gpu_codegen.c') diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index f1b631192af..52a1c09fc5f 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -197,7 +197,7 @@ static char *gpu_generate_function_prototyps(GHash *hash) * generated code, to avoid have to add the actual code & recompile all */ ghi = BLI_ghashIterator_new(hash); - for (; BLI_ghashIterator_notDone(ghi); BLI_ghashIterator_step(ghi)) { + for (; !BLI_ghashIterator_done(ghi); BLI_ghashIterator_step(ghi)) { name = BLI_ghashIterator_getValue(ghi); function = BLI_ghashIterator_getValue(ghi); -- cgit v1.2.3