mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 03:00:58 +00:00
- minor fixes.
This commit is contained in:
parent
bd4e4834e3
commit
644b07b718
5 changed files with 7 additions and 19 deletions
|
@ -3494,7 +3494,7 @@ static int32_t defsparser(scriptfile *script)
|
|||
case T_SRC:
|
||||
case T_DST:
|
||||
{
|
||||
static const tokenlist glBlendFuncTokens[] =
|
||||
static const tokenlist blendFuncTokens[] =
|
||||
{
|
||||
{ "ZERO", T_ZERO },
|
||||
{ "ONE", T_ONE },
|
||||
|
@ -3508,7 +3508,7 @@ static int32_t defsparser(scriptfile *script)
|
|||
{ "ONE_MINUS_DST_COLOR", T_ONE_MINUS_DST_COLOR },
|
||||
};
|
||||
|
||||
int32_t factortoken = getatoken(script,glBlendFuncTokens,ARRAY_SIZE(glBlendFuncTokens));
|
||||
int32_t factortoken = getatoken(script,blendFuncTokens,ARRAY_SIZE(blendFuncTokens));
|
||||
|
||||
#ifdef USE_OPENGL
|
||||
uint8_t * const factor = glblenddeftoken == T_SRC ? &glbdef->src : &glbdef->dst;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue