[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28597] branches/render25/source/blender/ imbuf/intern/cache.c: Fix image tile cache crash when rendering with the max number of
Brecht Van Lommel
brecht at blender.org
Wed May 5 19:07:55 CEST 2010
Revision: 28597
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28597
Author: blendix
Date: 2010-05-05 19:07:55 +0200 (Wed, 05 May 2010)
Log Message:
-----------
Fix image tile cache crash when rendering with the max number of
threads (64), it needs max threads + 1 local caches.
Modified Paths:
--------------
branches/render25/source/blender/imbuf/intern/cache.c
Modified: branches/render25/source/blender/imbuf/intern/cache.c
===================================================================
--- branches/render25/source/blender/imbuf/intern/cache.c 2010-05-05 16:21:38 UTC (rev 28596)
+++ branches/render25/source/blender/imbuf/intern/cache.c 2010-05-05 17:07:55 UTC (rev 28597)
@@ -76,7 +76,7 @@
MemArena *memarena;
uintptr_t totmem, maxmem;
- ImThreadTileCache thread_cache[BLENDER_MAX_THREADS];
+ ImThreadTileCache thread_cache[BLENDER_MAX_THREADS+1];
int totthread;
ThreadMutex mutex;
More information about the Bf-blender-cvs
mailing list