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");