diff --git a/host/platform/Windows/capture/DXGI/src/d3d11.c b/host/platform/Windows/capture/DXGI/src/d3d11.c index 3cd6e7d0..16ba938e 100644 --- a/host/platform/Windows/capture/DXGI/src/d3d11.c +++ b/host/platform/Windows/capture/DXGI/src/d3d11.c @@ -50,7 +50,7 @@ static bool d3d11_create(unsigned textures) DEBUG_ASSERT(!this); this = calloc(1, sizeof(struct D3D11Backend) + - sizeof(*this->texture) + textures); + sizeof(*this->texture) * textures); if (!this) {