Obsessive Null Checking Compulsion case:

Textured draw mode + DynTopo crashed after recent specularity tweak.
This commit is contained in:
Antony Riakiotakis 2013-06-05 09:10:56 +00:00
parent 4d53729ab9
commit aa96f0290a

@ -2323,7 +2323,7 @@ void GPU_draw_buffers(GPU_Buffers *buffers, DMSetMaterial setMaterial,
if (!setMaterial(f->mat_nr + 1, NULL))
return;
}
else {
else if (setMaterial) {
if (!setMaterial(1, NULL))
return;
}