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
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:07:18 -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 %ld\n", This, This->levels);
+ return This->levels;
}
ICOM_VTABLE(IDirect3DBaseTexture8) Direct3DBaseTexture8_Vtbl =