mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 11:31:41 +00:00
fixed another bad string validation check involving GetChars
This commit is contained in:
parent
56929833f0
commit
c8ee0cd5cc
1 changed files with 1 additions and 1 deletions
|
@ -1564,7 +1564,7 @@ class GLDefsParser
|
|||
if (is_cvar)
|
||||
{
|
||||
addedcvars = true;
|
||||
if (!shaderdesc.Name.GetChars())
|
||||
if (shaderdesc.Name.IsEmpty())
|
||||
sc.ScriptError("Shader must have a name to use cvar uniforms");
|
||||
|
||||
ECVarType cvartype = CVAR_Dummy;
|
||||
|
|
Loading…
Reference in a new issue