mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-22 03:51:11 +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)
|
if (is_cvar)
|
||||||
{
|
{
|
||||||
addedcvars = true;
|
addedcvars = true;
|
||||||
if (!shaderdesc.Name.GetChars())
|
if (shaderdesc.Name.IsEmpty())
|
||||||
sc.ScriptError("Shader must have a name to use cvar uniforms");
|
sc.ScriptError("Shader must have a name to use cvar uniforms");
|
||||||
|
|
||||||
ECVarType cvartype = CVAR_Dummy;
|
ECVarType cvartype = CVAR_Dummy;
|
||||||
|
|
Loading…
Reference in a new issue