The requested operation could not be completed because viewport parameters have not yet been set. Set the viewport parameters by calling the TDx_3DDevice::SetViewport() method, and try again.