From c54b7059300d562fba9a742d4a4da0443b8730d2 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 22 Jun 2021 13:16:02 +0300 Subject: [PATCH] Switch colorspace again --- common/rfb/nvidia.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rfb/nvidia.cxx b/common/rfb/nvidia.cxx index 454737e..9b5f4fe 100644 --- a/common/rfb/nvidia.cxx +++ b/common/rfb/nvidia.cxx @@ -269,7 +269,7 @@ static int setupsurf(const unsigned w, const unsigned h) { NV_ENC_CREATE_INPUT_BUFFER allocSurf; memset(&allocSurf, 0, sizeof(NV_ENC_CREATE_INPUT_BUFFER)); - nvenc.surf[i].format = NV_ENC_BUFFER_FORMAT_ABGR; // doesn't have RGBA! + nvenc.surf[i].format = NV_ENC_BUFFER_FORMAT_ARGB; // doesn't have RGBA! allocSurf.version = NV_ENC_CREATE_INPUT_BUFFER_VER; allocSurf.width = w; allocSurf.height = h;