mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-25 23:13:39 +00:00
[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:
parent
b38a5ce89e
commit
f145225dbc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user