Minor tweaks

This commit is contained in:
gdkchan 2018-10-15 15:55:27 -03:00
commit 72898bcf60
2 changed files with 3 additions and 8 deletions

View file

@ -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;

View file

@ -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;
} }
} }