Michael Stefaniuc : d3d9: Pass an object instead of an iface to IDirect3DDevice9Impl_CreateSurface() .