summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/RenderCommands.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-03 18:52:30 +0800
committerchai <chaifix@163.com>2021-11-03 18:52:30 +0800
commit08ddd44b634d4da78edd0964f539a310544c7883 (patch)
tree108317d9138c3e8a19f3cc3f2ffcfba4768f22d5 /Runtime/Graphics/RenderCommands.h
parent6f62a3d5ad405dbab5ac031fb8eeb03bdb395904 (diff)
! UI9Slicing
Diffstat (limited to 'Runtime/Graphics/RenderCommands.h')
-rw-r--r--Runtime/Graphics/RenderCommands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Runtime/Graphics/RenderCommands.h b/Runtime/Graphics/RenderCommands.h
index 123e6f0..ecb0904 100644
--- a/Runtime/Graphics/RenderCommands.h
+++ b/Runtime/Graphics/RenderCommands.h
@@ -70,6 +70,7 @@ struct Cmd_Blend : RenderCommand
if (!enable)
glDisable(GL_BLEND);
glEnable(GL_BLEND);
+ glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD);
GLenum src, dst;
switch (srcFac)
{