summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/RenderCommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Graphics/RenderCommands.h')
-rw-r--r--Runtime/Graphics/RenderCommands.h2
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);
}
};