CreateRenderTarget returns 0x80070057 in big surface resolution
- by senggen
I have created the SLI merged desktop of three 1920x1680 monitors, so the desktop resolution is 5760x1080.
There is a 0x80070057 error, while calling CreateRenderTarget to create the RT_Surface:
IDirect3DSurface9* _render_surface;
HRESULT hr = _device->CreateRenderTarget(
_desktop_width * 2,
_desktop_height + 1,
…