Procházet zdrojové kódy

video_core/surface: Remove obsolete TODO in PixelFormatFromRenderTargetFormat()

This isn't needed anymore, according to Hexagon
Lioncash před 7 roky
rodič
revize
42085ff110
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      src/video_core/surface.cpp

+ 0 - 2
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: