mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 02:00:48 -07:00
[GPU] Fix frame buffer being upside down in some cases
This commit is contained in:
@ -158,6 +158,15 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
||||
GL.Uniform1(Location, Value);
|
||||
}
|
||||
|
||||
public void SetUniform2F(string UniformName, float X, float Y)
|
||||
{
|
||||
BindProgram();
|
||||
|
||||
int Location = GL.GetUniformLocation(CurrentProgramHandle, UniformName);
|
||||
|
||||
GL.Uniform2(Location, X, Y);
|
||||
}
|
||||
|
||||
public void Bind(long Tag)
|
||||
{
|
||||
if (Stages.TryGetValue(Tag, out ShaderStage Stage))
|
||||
|
Reference in New Issue
Block a user