Skip to content

Commit

Permalink
[dxgi] increase the comRef global count
Browse files Browse the repository at this point in the history
  • Loading branch information
gnif committed Nov 7, 2023
1 parent d57bce1 commit a3a04d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host/platform/Windows/capture/DXGI/src/dxgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit a3a04d2

Please sign in to comment.