Allow alpha to matter in screenshots.

This commit is contained in:
upthorn 2018-12-21 22:38:03 -08:00
parent c50267fe96
commit 8395193aee
3 changed files with 3 additions and 3 deletions

View File

@ -860,7 +860,7 @@ namespace BizHawk.Bizware.BizwareGL.Drivers.OpenTK
_rsBlendNormal = new CacheBlendState(
true,
BlendingFactorSrc.SrcAlpha, BlendEquationMode.FuncAdd, BlendingFactorDest.OneMinusSrcAlpha,
BlendingFactorSrc.One, BlendEquationMode.FuncAdd, BlendingFactorDest.Zero);
BlendingFactorSrc.One, BlendEquationMode.Max, BlendingFactorDest.One);
}
CacheBlendState _rsBlendNoneVerbatim, _rsBlendNoneOpaque, _rsBlendNormal;

View File

@ -368,7 +368,7 @@ namespace BizHawk.Bizware.BizwareGL.Drivers.SlimDX
_rsBlendNormal = new CacheBlendState(
true,
gl.BlendingFactorSrc.SrcAlpha, gl.BlendEquationMode.FuncAdd, gl.BlendingFactorDest.OneMinusSrcAlpha,
gl.BlendingFactorSrc.One, gl.BlendEquationMode.FuncAdd, gl.BlendingFactorDest.Zero);
gl.BlendingFactorSrc.One, gl.BlendEquationMode.Max, gl.BlendingFactorDest.One);
}
CacheBlendState _rsBlendNoneVerbatim, _rsBlendNoneOpaque, _rsBlendNormal;

View File

@ -287,7 +287,7 @@ namespace BizHawk.Bizware.BizwareGL
/// </summary>
public void DiscardAlpha()
{
HasAlpha = false;
//HasAlpha = false;
}
void LoadInternal(Stream stream, sd.Bitmap bitmap, BitmapLoadOptions options)