[Bug 45080] Null pointer dereference in member function of D3D11 device