PATCH: Fix palette handling when loading a texture

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

 



Modified files :
dlls/ddraw/d3dtexture.c : IDirect3DTexture2Impl_Load

Changelog :
Fix palette handling when loading a texture.

Christian Costa   titan.costa@wanadoo.fr

Index: d3dtexture.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/d3dtexture.c,v
retrieving revision 1.14
diff -u -r1.14 d3dtexture.c
--- d3dtexture.c	25 Sep 2002 03:18:17 -0000	1.14
+++ d3dtexture.c	15 Oct 2002 20:01:45 -0000
@@ -430,7 +430,7 @@
       /* ****************
 	 Paletted Texture
 	 **************** */
-      IDirectDrawPaletteImpl* pal = This->surface->palette;
+      IDirectDrawPaletteImpl* pal = ilpD3DTexture2->surface->palette;
       BYTE table[256][4];
       int i;
 

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

  Powered by Linux