fix the Multiply blend mode

This commit is contained in:
Matthias Mailänder
2015-04-19 20:11:24 +02:00
parent 63e4d40770
commit 996445a178

View File

@@ -238,7 +238,7 @@ namespace OpenRA.Renderer.Sdl2
case BlendMode.Multiply:
GL.Enable(EnableCap.Blend);
ErrorHandler.CheckGlError();
GL.BlendFuncSeparate(BlendingFactorSrc.DstColor, BlendingFactorDest.Zero, BlendingFactorSrc.One, BlendingFactorDest.OneMinusSrcAlpha);
GL.BlendFunc(BlendingFactorSrc.DstColor, BlendingFactorDest.OneMinusSrcAlpha);
ErrorHandler.CheckGlError();
break;
case BlendMode.SoftAdditive: