Report an error if creating a render target fails