The TDx_3DDevice::SetRenderTarget() method was called on a device that was retrieved from the render target surface.