git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11663
d7cf8633-e32d-0410-b094-
e92efae38249
command->texture = texture;
dpsoftrast.texbound[unitnum] = texture;
command->texture = texture;
dpsoftrast.texbound[unitnum] = texture;
- ATOMIC_ADD(texture->binds, dpsoftrast.numthreads);
+ if (texture)
+ ATOMIC_ADD(texture->binds, dpsoftrast.numthreads);
}
void DPSOFTRAST_SetVertexPointer(const float *vertex3f, size_t stride)
}
void DPSOFTRAST_SetVertexPointer(const float *vertex3f, size_t stride)