[host] dxgi: fix d3d11 assertion failure

`DEBUG_ASSERT(!this)` in `d3d11_create` is firing on the second
instantiation because we are not clearing `this` in `d3d11_free`.
This commit is contained in:
Chris Spencer 2022-01-12 21:13:44 +00:00 committed by Geoffrey McRae
parent b38a5ce89e
commit f145225dbc

View File

@ -105,6 +105,7 @@ static void d3d11_free(void)
runningavg_free(&this->avgMapTime);
free(this);
this = NULL;
}
static bool d3d11_copyFrame(Texture * tex, ID3D11Texture2D * src)