From 53b7bc8f1f7126600f431e63398a7678e643c8ae Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Wed, 6 Mar 2013 20:55:04 +0000 Subject: Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It is always used in that context so we can at least avoid reverting it twice :p. --- 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 59953659a2c..840b16a4567 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_isDone(ghi); BLI_ghashIterator_step(ghi)) { + for (; BLI_ghashIterator_notDone(ghi); BLI_ghashIterator_step(ghi)) { name = BLI_ghashIterator_getValue(ghi); function = BLI_ghashIterator_getValue(ghi); -- cgit v1.2.3