From 235dbbb5d7c23b1709244a03194096fe2d5f8056 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 15 Mar 2011 18:19:31 +0100 Subject: [PATCH] d3d8: Fix IDirect3DCubeTexture8Impl_GetLOD(). --- dlls/d3d8/cubetexture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d8/cubetexture.c b/dlls/d3d8/cubetexture.c index 7b5305c22a7..0c7295a1b94 100644 --- a/dlls/d3d8/cubetexture.c +++ b/dlls/d3d8/cubetexture.c @@ -229,7 +229,7 @@ static DWORD WINAPI IDirect3DCubeTexture8Impl_GetLOD(IDirect3DCubeTexture8 *ifac TRACE("iface %p.\n", iface); wined3d_mutex_lock(); - lod = IWineD3DCubeTexture_GetLOD((LPDIRECT3DBASETEXTURE8) This); + lod = IWineD3DCubeTexture_GetLOD(This->wineD3DCubeTexture); wined3d_mutex_unlock(); return lod; -- 2.11.4.GIT