From 0d9b0bd367fe444f81627f23398275c0712d60b3 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sun, 6 Jun 2021 01:35:00 +1000 Subject: [PATCH] [host] dxgi: increase maxTextures default to 4 Testing shows that at high frame rates the default of 3 is hampering performance, increasing this to 4 yields a substantial performance improvement. --- host/platform/Windows/capture/DXGI/src/dxgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/platform/Windows/capture/DXGI/src/dxgi.c b/host/platform/Windows/capture/DXGI/src/dxgi.c index 365a94aa..77c9db55 100644 --- a/host/platform/Windows/capture/DXGI/src/dxgi.c +++ b/host/platform/Windows/capture/DXGI/src/dxgi.c @@ -143,7 +143,7 @@ static void dxgi_initOptions(void) .name = "maxTextures", .description = "The maximum number of frames to buffer before skipping", .type = OPTION_TYPE_INT, - .value.x_int = 3 + .value.x_int = 4 }, { .module = "dxgi",