From fb67e0d20264e615545e3af2b9fa8e18eb50526e Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 31 Oct 2021 20:19:31 +0800 Subject: * shader compiler --- Runtime/Graphics/RenderCommands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Runtime/Graphics/RenderCommands.h') 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); } }; -- cgit v1.1-26-g67d0