PATCH: Fix palette handling when loading a texture
Christian Costa
titan.costa at wanadoo.fr
Tue Oct 15 15:16:34 CDT 2002
Modified files :
dlls/ddraw/d3dtexture.c : IDirect3DTexture2Impl_Load
Changelog :
Fix palette handling when loading a texture.
Christian Costa titan.costa at wanadoo.fr
-------------- next part --------------
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;
More information about the wine-patches
mailing list