[PATCH 1/3] wined3d: Do not crash when trying to draw to buffer render target.