Henri Verbeet : ddraw: Verify that the surface is a render target in d3d_device_set_render_target ().