MAX_LIGHTS redefinition

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

 



MAX_LIGHTS is defined in two places:

 * mesa.c
   #define MAX_LIGHTS 8

 * d3d_private.h
   #define MAX_LIGHTS  16

So this patch removes the definition from mesa.c. Hopefully this is ok.

Changelog:

 * dlls/ddraw/direct3d/mesa.c
   Remove duplicate MAX_LIGHTS definition. Use the one from
d3d_private.h instead.


Index: dlls/ddraw/direct3d/mesa.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/direct3d/mesa.c,v
retrieving revision 1.23
diff -u -r1.23 mesa.c
--- dlls/ddraw/direct3d/mesa.c	2 Jan 2003 20:13:47 -0000	1.23
+++ dlls/ddraw/direct3d/mesa.c	3 Jan 2003 06:27:25 -0000
@@ -40,8 +40,6 @@

 WINE_DEFAULT_DEBUG_CHANNEL(ddraw);

-#define MAX_LIGHTS 8
-
 HRESULT WINAPI
 GL_IDirect3DImpl_3_2T_1T_EnumDevices(LPDIRECT3D3 iface,
 				     LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback,


-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
 "Only wimps use tape backup: _real_ men just upload their important stuff on
       ftp, and let the rest of the world mirror it ;)" -- Linus Torvalds



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

  Powered by Linux