forgot to check lightDeluxel for NULL here
This commit is contained in:
parent
ab06d9eea3
commit
6b48a837f9
|
|
@ -1861,7 +1861,10 @@ static void SubsampleRawLuxel_r( rawLightmap_t *lm, trace_t *trace, vec3_t sampl
|
||||||
//% VectorClear( color );
|
//% VectorClear( color );
|
||||||
//% samples = 0;
|
//% samples = 0;
|
||||||
VectorCopy( lightLuxel, color );
|
VectorCopy( lightLuxel, color );
|
||||||
VectorCopy( lightDeluxel, direction );
|
if(lightDeluxel)
|
||||||
|
{
|
||||||
|
VectorCopy( lightDeluxel, direction );
|
||||||
|
}
|
||||||
samples = 1;
|
samples = 1;
|
||||||
for( b = 0; b < 4; b++ )
|
for( b = 0; b < 4; b++ )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user