From 996445a178d281b2bcf6c93c17c5e0070d1f6d1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 19 Apr 2015 20:11:24 +0200 Subject: [PATCH] fix the Multiply blend mode --- OpenRA.Renderer.Sdl2/Sdl2GraphicsDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Renderer.Sdl2/Sdl2GraphicsDevice.cs b/OpenRA.Renderer.Sdl2/Sdl2GraphicsDevice.cs index 2786da9b27..61ceb7406f 100755 --- a/OpenRA.Renderer.Sdl2/Sdl2GraphicsDevice.cs +++ b/OpenRA.Renderer.Sdl2/Sdl2GraphicsDevice.cs @@ -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: