diff options
Diffstat (limited to 'src/video_core/surface.cpp')
| -rw-r--r-- | src/video_core/surface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index 6bd133d10..80a7d908f 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp | |||
| @@ -118,8 +118,10 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) | |||
| 118 | case Tegra::RenderTargetFormat::R16G16B16X16_FLOAT: | 118 | case Tegra::RenderTargetFormat::R16G16B16X16_FLOAT: |
| 119 | return PixelFormat::R16G16B16X16_FLOAT; | 119 | return PixelFormat::R16G16B16X16_FLOAT; |
| 120 | case Tegra::RenderTargetFormat::A8R8G8B8_UNORM: | 120 | case Tegra::RenderTargetFormat::A8R8G8B8_UNORM: |
| 121 | case Tegra::RenderTargetFormat::X8R8G8B8_UNORM: | ||
| 121 | return PixelFormat::B8G8R8A8_UNORM; | 122 | return PixelFormat::B8G8R8A8_UNORM; |
| 122 | case Tegra::RenderTargetFormat::A8R8G8B8_SRGB: | 123 | case Tegra::RenderTargetFormat::A8R8G8B8_SRGB: |
| 124 | case Tegra::RenderTargetFormat::X8R8G8B8_SRGB: | ||
| 123 | return PixelFormat::B8G8R8A8_SRGB; | 125 | return PixelFormat::B8G8R8A8_SRGB; |
| 124 | case Tegra::RenderTargetFormat::A2B10G10R10_UNORM: | 126 | case Tegra::RenderTargetFormat::A2B10G10R10_UNORM: |
| 125 | return PixelFormat::A2B10G10R10_UNORM; | 127 | return PixelFormat::A2B10G10R10_UNORM; |