diff options
author | chai <chaifix@163.com> | 2021-10-31 20:19:31 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-31 20:19:31 +0800 |
commit | fb67e0d20264e615545e3af2b9fa8e18eb50526e (patch) | |
tree | 236f3cdad56ccfa41f04f4b7443cbbd037ed6b48 /Runtime/Graphics/RenderCommands.h | |
parent | 9e0ad4279c8ccf2f419694e4ca15a1372e8b20d6 (diff) |
* shader compiler
Diffstat (limited to 'Runtime/Graphics/RenderCommands.h')
-rw-r--r-- | Runtime/Graphics/RenderCommands.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/Graphics/RenderCommands.h b/Runtime/Graphics/RenderCommands.h index 8dc2dbe..123e6f0 100644 --- a/Runtime/Graphics/RenderCommands.h +++ b/Runtime/Graphics/RenderCommands.h @@ -105,7 +105,7 @@ struct Cmd_Blend : RenderCommand case EBlend::Blend_Constant_Alpha: dst = GL_CONSTANT_ALPHA; break; case EBlend::Blend_One_Minus_Constant_Alpha: dst = GL_ONE_MINUS_CONSTANT_ALPHA; break; } - glBlendFunc(srcFac, dstFac); + glBlendFunc(src, dst); } }; |