From f863708a1f06ca0bb7b35f7b34d5abe4961eddbb Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 21 Dec 2022 11:42:05 +0000 Subject: [PATCH] steamcompmgr: Disable NV12 screenshot hack Closes: #716 --- src/steamcompmgr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index b1cfc27..d8374bb 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -1921,8 +1921,7 @@ paint_all(bool async) pCaptureTexture = pw_buffer->texture; } #endif - // hack: forced to nv12 rn - bool bHackForceNV12DumpScreenshot = true; + constexpr bool bHackForceNV12DumpScreenshot = false; uint32_t drmCaptureFormat = bHackForceNV12DumpScreenshot ? DRM_FORMAT_NV12