summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-05 16:15:03 +0100
committerLioncash <mathew1800@gmail.com>2019-03-05 16:15:06 +0100
commit42085ff110ec6bf09d8823aa28c2047f7df9bbca (patch)
tree2d693ba8ec998ed645044c2e7fbc6ebc042d6b0b /src/video_core/surface.cpp
parentkernel/thread: Remove obsolete TODO in Create() (diff)
downloadyuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.tar
yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.tar.gz
yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.tar.bz2
yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.tar.lz
yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.tar.xz
yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.tar.zst
yuzu-42085ff110ec6bf09d8823aa28c2047f7df9bbca.zip
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp2
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) {
PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) {
switch (format) {
- // TODO (Hexagon12): Converting SRGBA to RGBA is a hack and doesn't completely correct the
- // gamma.
case Tegra::RenderTargetFormat::RGBA8_SRGB:
return PixelFormat::RGBA8_SRGB;
case Tegra::RenderTargetFormat::RGBA8_UNORM: