[dx64b] Base texture level count #2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
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 =

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux