aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS
diff options
context:
space:
mode:
authorAlex Barney <thealexbarney@gmail.com>2019-03-03 19:45:25 -0600
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2019-03-04 12:45:25 +1100
commit1f554c1093dde6a4d3ed80fae2675abfb6c12fac (patch)
treebbbdfb87999168288777ac404081f3e49c7440ae /Ryujinx.HLE/HOS
parent8e71ea0812f6b56ff819dbda951b463bcb5eb8dc (diff)
Do naming refactoring on Ryujinx.Graphics (#611)
* Renaming part 1 * Renaming part 2 * Renaming part 3 * Renaming part 4 * Renaming part 5 * Renaming part 6 * Renaming part 7 * Renaming part 8 * Renaming part 9 * Renaming part 10 * General cleanup * Thought I got all of these * Apply #595 * Additional renaming * Tweaks from feedback * Rename files
Diffstat (limited to 'Ryujinx.HLE/HOS')
-rw-r--r--Ryujinx.HLE/HOS/Services/Vi/NvFlinger.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Vi/NvFlinger.cs b/Ryujinx.HLE/HOS/Services/Vi/NvFlinger.cs
index dbf255be..66c33279 100644
--- a/Ryujinx.HLE/HOS/Services/Vi/NvFlinger.cs
+++ b/Ryujinx.HLE/HOS/Services/Vi/NvFlinger.cs
@@ -357,15 +357,15 @@ namespace Ryujinx.HLE.HOS.Services.Android
switch (colorFormat)
{
case ColorFormat.A8B8G8R8:
- return GalImageFormat.RGBA8 | GalImageFormat.Unorm;
+ return GalImageFormat.Rgba8 | GalImageFormat.Unorm;
case ColorFormat.X8B8G8R8:
- return GalImageFormat.RGBX8 | GalImageFormat.Unorm;
+ return GalImageFormat.Rgbx8 | GalImageFormat.Unorm;
case ColorFormat.R5G6B5:
- return GalImageFormat.BGR565 | GalImageFormat.Unorm;
+ return GalImageFormat.Bgr565 | GalImageFormat.Unorm;
case ColorFormat.A8R8G8B8:
- return GalImageFormat.BGRA8 | GalImageFormat.Unorm;
+ return GalImageFormat.Bgra8 | GalImageFormat.Unorm;
case ColorFormat.A4B4G4R4:
- return GalImageFormat.RGBA4 | GalImageFormat.Unorm;
+ return GalImageFormat.Rgba4 | GalImageFormat.Unorm;
default:
throw new NotImplementedException($"Color Format \"{colorFormat}\" not implemented!");
}