Minor tweaks
This commit is contained in:
parent
d545a123e3
commit
72898bcf60
2 changed files with 3 additions and 8 deletions
|
@ -59,7 +59,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
||||||
private const int NativeWidth = 1280;
|
private const int NativeWidth = 1280;
|
||||||
private const int NativeHeight = 720;
|
private const int NativeHeight = 720;
|
||||||
|
|
||||||
private const int RenderTargetsCount = 8;
|
private const int RenderTargetsCount = GalPipelineState.RenderTargetsCount;
|
||||||
|
|
||||||
private OGLTexture Texture;
|
private OGLTexture Texture;
|
||||||
|
|
||||||
|
|
|
@ -343,13 +343,8 @@ namespace Ryujinx.Graphics
|
||||||
{
|
{
|
||||||
switch (FrontFace)
|
switch (FrontFace)
|
||||||
{
|
{
|
||||||
case GalFrontFace.CW:
|
case GalFrontFace.CW: FrontFace = GalFrontFace.CCW; break;
|
||||||
FrontFace = GalFrontFace.CCW;
|
case GalFrontFace.CCW: FrontFace = GalFrontFace.CW; break;
|
||||||
break;
|
|
||||||
|
|
||||||
case GalFrontFace.CCW:
|
|
||||||
FrontFace = GalFrontFace.CW;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue