[dx64b] Base texture level count #2
Ann and Jason Edmeades
us at the-edmeades.demon.co.uk
Tue Jul 1 15:18:43 CDT 2003
Ok, ok, watch out for compiler warnings flash past. Try this patch
instead of the previous one, Sorry about that.
>Operation Flashpoint seems to call this a lot, so implement it. However
>it still shows a good example of black screen most of the time...
>Changelog
>Add GetLevelCount to the basetexture class
>Jason
-------------- next part --------------
Index: dlls/d3d8/basetexture.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d8/basetexture.c,v
retrieving revision 1.8
diff -u -r1.8 basetexture.c
--- dlls/d3d8/basetexture.c 4 Jun 2003 23:05:46 -0000 1.8
+++ dlls/d3d8/basetexture.c 1 Jul 2003 20:12:00 -0000
@@ -119,8 +119,8 @@
}
DWORD WINAPI IDirect3DBaseTexture8Impl_GetLevelCount(LPDIRECT3DBASETEXTURE8 iface) {
ICOM_THIS(IDirect3DBaseTexture8Impl,iface);
- FIXME("(%p) : stub\n", This);
- return 0;
+ TRACE("(%p) : returning %d\n", This, This->levels);
+ return This->levels;
}
ICOM_VTABLE(IDirect3DBaseTexture8) Direct3DBaseTexture8_Vtbl =
More information about the wine-patches
mailing list