decal:predraw: return PREDRAW_NEXT when no shader is set.
This commit is contained in:
parent
8167204479
commit
a9853f79cf
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ decal::predraw(void)
|
|||
|
||||
/* skip empty decals */
|
||||
if (!dcl.m_strShader)
|
||||
return;
|
||||
return PREDRAW_NEXT;
|
||||
|
||||
/* don't draw us, unnecessary */
|
||||
/*if (checkpvs(getproperty(VF_ORIGIN), this) == FALSE) {
|
||||
|
|
Loading…
Reference in a new issue