wined3d: Don't use GetDevice in IWineD3DSurfaceImpl_GetContainer, as
it adds a reference to the device that shouldn't be there.
This commit is contained in:
parent
d13469c1d8
commit
7d97f29c24
|
@ -191,7 +191,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_GetContainer(IWineD3DSurface* iface, REFIID r
|
|||
if (This->container) {
|
||||
container = This->container;
|
||||
} else {
|
||||
IWineD3DSurface_GetDevice(iface, (IWineD3DDevice **)&container);
|
||||
container = (IWineD3DBase *)This->resource.wineD3DDevice;
|
||||
}
|
||||
|
||||
TRACE("Relaying to QueryInterface\n");
|
||||
|
|
Loading…
Reference in New Issue