diff options
| author | 2019-03-06 10:51:03 -0500 | |
|---|---|---|
| committer | 2019-03-06 10:51:03 -0500 | |
| commit | 10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5 (patch) | |
| tree | 2d693ba8ec998ed645044c2e7fbc6ebc042d6b0b /src/video_core/surface.cpp | |
| parent | Merge pull request #2185 from FearlessTobi/port-4630 (diff) | |
| parent | video_core/surface: Remove obsolete TODO in PixelFormatFromRenderTargetFormat() (diff) | |
| download | yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.tar.gz yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.tar.xz yuzu-10f08ab9ec3704c5c1fa5f9ea03d7570de06e9a5.zip | |
Merge pull request #2198 from lioncash/todo
{kernel/thread, video_core/surface}: Remove obsolete TODOs
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: |