diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-04-14 00:39:24 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-04-14 00:39:24 -0300 |
| commit | 42ebfdff7f2889be38a3415bf33aeb41df90bd98 (patch) | |
| tree | 556639adf9f0ef20e0fc64f9293ccc8c6e11b5e3 /Ryujinx.Graphics/Gal/IGalRenderer.cs | |
| parent | 47100ec8c1b3cabc7d53654163c1dd30b58d483d (diff) | |
[GPU] Fix frame buffer being upside down in some cases
Diffstat (limited to 'Ryujinx.Graphics/Gal/IGalRenderer.cs')
| -rw-r--r-- | Ryujinx.Graphics/Gal/IGalRenderer.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Gal/IGalRenderer.cs b/Ryujinx.Graphics/Gal/IGalRenderer.cs index c30c79fb..af88412a 100644 --- a/Ryujinx.Graphics/Gal/IGalRenderer.cs +++ b/Ryujinx.Graphics/Gal/IGalRenderer.cs @@ -42,6 +42,8 @@ namespace Ryujinx.Graphics.Gal void SetFrameBufferTransform(float SX, float SY, float Rotate, float TX, float TY); + void SetViewport(int X, int Y, int Width, int Height); + //Rasterizer void ClearBuffers(int RtIndex, GalClearBufferFlags Flags); @@ -62,6 +64,8 @@ namespace Ryujinx.Graphics.Gal void SetUniform1(string UniformName, int Value); + void SetUniform2F(string UniformName, float X, float Y); + void BindShader(long Tag); void BindProgram(); |
