summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6d8a43b)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2351
d7cf8633-e32d-0410-b094-
e92efae38249
surf->currenttexture = t;
surf->texturechain = t->surfacechain;
t->surfacechain = surf;
surf->currenttexture = t;
surf->texturechain = t->surfacechain;
t->surfacechain = surf;
- if (surf->lightmaptexture != NULL)
+ if (!r_vertexsurfaces.integer && surf->lightmaptexture != NULL)
{
if (surf->cached_dlight
|| surf->cached_ambient != r_ambient.value
{
if (surf->cached_dlight
|| surf->cached_ambient != r_ambient.value