mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-26 11:41:29 +01:00
Keep sRGB enabled for texture blits (#1009)
This commit is contained in:
parent
49d7b1c7d8
commit
9a208c4fb5
1 changed files with 0 additions and 4 deletions
|
@ -16,8 +16,6 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
Extents2D dstRegion,
|
||||
bool linearFilter)
|
||||
{
|
||||
GL.Disable(EnableCap.FramebufferSrgb);
|
||||
|
||||
int oldReadFramebufferHandle = GL.GetInteger(GetPName.ReadFramebufferBinding);
|
||||
int oldDrawFramebufferHandle = GL.GetInteger(GetPName.DrawFramebufferBinding);
|
||||
|
||||
|
@ -50,8 +48,6 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
|
||||
GL.BindFramebuffer(FramebufferTarget.ReadFramebuffer, oldReadFramebufferHandle);
|
||||
GL.BindFramebuffer(FramebufferTarget.DrawFramebuffer, oldDrawFramebufferHandle);
|
||||
|
||||
GL.Enable(EnableCap.FramebufferSrgb);
|
||||
}
|
||||
|
||||
private static void Attach(FramebufferTarget target, Format format, int handle)
|
||||
|
|
Loading…
Reference in a new issue