[c-host] dxgi: fix segfault with maxTextures=1 on client reconnect
This commit is contained in:
1 parent
8ada29e25f
commit
0bd19cfd38
2 files changed
+30
-21
No files matched your search
@@ -222,6 +222,9 @@ static bool dxgi_init(void * pointerShape, const unsigned int pointerSize)
|
||||
this->texWIndex = 0;
|
||||
this->texReady = 0;
|
||||
|
||||
os_resetEvent(this->frameEvent );
|
||||
os_resetEvent(this->pointerEvent);
|
||||
|
||||
status = CreateDXGIFactory1(&IID_IDXGIFactory1, (void **)&this->factory);
|
||||
if (FAILED(status))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user