Re: [2/4] d3drm: Forward GetTextureCoordinates from IDirect3DRMMeshBuilder3 to IDirect3DRMMeshBuilder2
2012/1/6 André Hentschel <nerv(a)dawncrow.de>:
- - FIXME("(%p)->(%d,%p,%p): stub\n", This, index, u, v); - - return E_NOTIMPL; + return IDirect3DRMMeshBuilder_GetTextureCoordinates(&This->IDirect3DRMMeshBuilder2_iface, + index, u, v); } I'm not going to say you can't do it like this, but it can often be pretty useful to know what version of an interface you were called from. Also, usually we implement older versions of interfaces on top of the new ones, instead of the other way around.
Am 06.01.2012 19:21, schrieb Henri Verbeet:
2012/1/6 André Hentschel <nerv(a)dawncrow.de>:
- - FIXME("(%p)->(%d,%p,%p): stub\n", This, index, u, v); - - return E_NOTIMPL; + return IDirect3DRMMeshBuilder_GetTextureCoordinates(&This->IDirect3DRMMeshBuilder2_iface, + index, u, v); } I'm not going to say you can't do it like this, but it can often be pretty useful to know what version of an interface you were called from. Also, usually we implement older versions of interfaces on top of the new ones, instead of the other way around.
Ok, thx for the hint. -- Best Regards, André Hentschel
participants (2)
-
André Hentschel -
Henri Verbeet