Fix transparency
This commit is contained in:
@@ -42,15 +42,10 @@ namespace Overlay.NET.Directx {
|
||||
|
||||
//transparent background color
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
private static Color _gdiTransparent = Color.Transparent;
|
||||
|
||||
/// <summary>
|
||||
/// The transparent
|
||||
/// </summary>
|
||||
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
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user