samplesize warning
git-svn-id: svn://svn.icculus.org/netradiant/trunk@101 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
parent
acd3555cae
commit
cd2e34da46
|
|
@ -685,6 +685,19 @@ qboolean AddSurfaceToRawLightmap( int num, rawLightmap_t *lm )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(sampleSize != lm->sampleSize)
|
||||||
|
{
|
||||||
|
Sys_FPrintf(SYS_VRB,"WARNING: surface at (%6.0f %6.0f %6.0f) (%6.0f %6.0f %6.0f) too large for desired samplesize/lightmapsize combination, increased samplesize from %.1f to %.1f\n",
|
||||||
|
info->mins[0],
|
||||||
|
info->mins[1],
|
||||||
|
info->mins[2],
|
||||||
|
info->maxs[0],
|
||||||
|
info->maxs[1],
|
||||||
|
info->maxs[2],
|
||||||
|
lm->sampleSize,
|
||||||
|
sampleSize);
|
||||||
|
}
|
||||||
|
|
||||||
/* set actual sample size */
|
/* set actual sample size */
|
||||||
lm->actualSampleSize = sampleSize;
|
lm->actualSampleSize = sampleSize;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user