[host] dxgi: fix maybe uninitialized warning

This commit is contained in:
Geoffrey McRae 2021-01-27 01:21:06 +11:00
parent 6b0699e664
commit 0d7be70b56

View File

@ -743,7 +743,7 @@ static CaptureResult dxgi_capture(void)
assert(this);
assert(this->initialized);
Texture * tex;
Texture * tex = NULL;
CaptureResult result;
HRESULT status;
DXGI_OUTDUPL_FRAME_INFO frameInfo;