diff --git a/src/Overlay.NET/Directx/Direct2DRenderer.cs b/src/Overlay.NET/Directx/Direct2DRenderer.cs index 558c4f3..8f73826 100644 --- a/src/Overlay.NET/Directx/Direct2DRenderer.cs +++ b/src/Overlay.NET/Directx/Direct2DRenderer.cs @@ -42,15 +42,10 @@ namespace Overlay.NET.Directx { //transparent background color /// - /// The GDI transparent + /// The transparent. Must be all zero: the render target is premultiplied, so Color.Transparent + /// (ARGB 0,255,255,255) would be additive white instead of transparent. /// - private static Color _gdiTransparent = Color.Transparent; - - /// - /// The transparent - /// - private static readonly RawColor4 Transparent = new RawColor4(_gdiTransparent.R, _gdiTransparent.G, _gdiTransparent.B, - _gdiTransparent.A); + private static readonly RawColor4 Transparent = new RawColor4(0, 0, 0, 0); //direct x vars ///