From 748c9c177e0f5fc60f6c3b9a516a0158f0ec694f 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 e0cf369f..2c2a539f 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");