[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 authored and Geoffrey McRae committed 2022-01-13 08:17:59 +11:00
1 parent b38a5ce89e
commit f145225dbc
1 file changed
+1
@@ -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)