From a3a04d2a6c262af9fa408bc0edd43f1a21e1d7fc Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 7 Nov 2023 16:07:56 +1100 Subject: [PATCH] [dxgi] increase the comRef global count --- host/platform/Windows/capture/DXGI/src/dxgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/platform/Windows/capture/DXGI/src/dxgi.c b/host/platform/Windows/capture/DXGI/src/dxgi.c index e0cf369f0..2c2a539f4 100644 --- a/host/platform/Windows/capture/DXGI/src/dxgi.c +++ b/host/platform/Windows/capture/DXGI/src/dxgi.c @@ -273,8 +273,8 @@ static bool dxgi_init(void) DEBUG_ASSERT(this); if (!comRef_init( - 20 + this->maxTextures * 8, //max total globals - 20 //max total locals + 20 + this->maxTextures * 16, //max total globals + 20 //max total locals )) { DEBUG_ERROR("failed to intialize the comRef tracking");