diff options
| author | 2019-03-05 10:15:03 -0500 | |
|---|---|---|
| committer | 2019-03-05 10:15:06 -0500 | |
| commit | 42085ff110ec6bf09d8823aa28c2047f7df9bbca (patch) | |
| tree | 2d693ba8ec998ed645044c2e7fbc6ebc042d6b0b /src/video_core/surface.cpp | |
| parent | kernel/thread: Remove obsolete TODO in Create() (diff) | |
| download | yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.tar.gz yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.tar.xz yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.zip | |
video_core/surface: Remove obsolete TODO in PixelFormatFromRenderTargetFormat()
This isn't needed anymore, according to Hexagon
Diffstat (limited to 'src/video_core/surface.cpp')
| -rw-r--r-- | src/video_core/surface.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index 044ba116a..a7ac26d71 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp | |||
| @@ -89,8 +89,6 @@ PixelFormat PixelFormatFromDepthFormat(Tegra::DepthFormat format) { | |||
| 89 | 89 | ||
| 90 | PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) { | 90 | PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) { |
| 91 | switch (format) { | 91 | switch (format) { |
| 92 | // TODO (Hexagon12): Converting SRGBA to RGBA is a hack and doesn't completely correct the | ||
| 93 | // gamma. | ||
| 94 | case Tegra::RenderTargetFormat::RGBA8_SRGB: | 92 | case Tegra::RenderTargetFormat::RGBA8_SRGB: |
| 95 | return PixelFormat::RGBA8_SRGB; | 93 | return PixelFormat::RGBA8_SRGB; |
| 96 | case Tegra::RenderTargetFormat::RGBA8_UNORM: | 94 | case Tegra::RenderTargetFormat::RGBA8_UNORM: |