wined3d: IWineD3DCubeTextureImpl implements IID_IWineD3DCubeTexture, not IID_IWineD3DTexture.
This commit is contained in:
parent
047e42da08
commit
ad658c22b8
|
@ -47,7 +47,7 @@ static HRESULT WINAPI IWineD3DCubeTextureImpl_QueryInterface(IWineD3DCubeTexture
|
||||||
|| IsEqualGUID(riid, &IID_IWineD3DBase)
|
|| IsEqualGUID(riid, &IID_IWineD3DBase)
|
||||||
|| IsEqualGUID(riid, &IID_IWineD3DResource)
|
|| IsEqualGUID(riid, &IID_IWineD3DResource)
|
||||||
|| IsEqualGUID(riid, &IID_IWineD3DBaseTexture)
|
|| IsEqualGUID(riid, &IID_IWineD3DBaseTexture)
|
||||||
|| IsEqualGUID(riid, &IID_IWineD3DTexture)) {
|
|| IsEqualGUID(riid, &IID_IWineD3DCubeTexture)) {
|
||||||
IUnknown_AddRef(iface);
|
IUnknown_AddRef(iface);
|
||||||
*ppobj = This;
|
*ppobj = This;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Reference in New Issue