- removed debug code.

- fixed: planes that are created by splitting translucent 3D-floors may never be rendered.
This commit is contained in:
Christoph Oelckers 2014-10-23 17:35:58 +02:00
commit bca47bb9bc
2 changed files with 2 additions and 7 deletions

View file

@ -173,13 +173,6 @@ int FLightBuffer::UploadLights(FDynLightData &data)
if (mBufferPointer == NULL) return -1;
copyptr = mBufferPointer + mIndex * 4;
static unsigned int lastindex = 0;
if (mIndex > lastindex)
{
Printf("Light index: %d, size: %d\n", mIndex, totalsize);
lastindex = mIndex;
}
float parmcnt[] = { 0, float(size0), float(size0 + size1), float(size0 + size1 + size2) };
memcpy(&copyptr[0], parmcnt, 4 * sizeof(float));