manually revert 'allow alpha in screenshots'

This commit is contained in:
alyosha-tas 2019-02-12 17:17:08 -06:00
parent cb517aaded
commit ee45e3114e
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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