manually revert 'allow alpha in screenshots'
This commit is contained in:
parent
cb517aaded
commit
ee45e3114e
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue