[WINED3D]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 20 Jan 2014 12:57:33 +0000 (12:57 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 20 Jan 2014 12:57:33 +0000 (12:57 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716

svn path=/trunk/; revision=61727

reactos/dll/directx/wine/wined3d/directx.c
reactos/dll/directx/wine/wined3d/wined3d_main.c
reactos/dll/directx/wine/wined3d/wined3d_private.h

index 2c104a8..420de71 100644 (file)
@@ -23,6 +23,8 @@
 
 #include "wined3d_private.h"
 
+#include <wine/unicode.h>
+
 WINE_DEFAULT_DEBUG_CHANNEL(d3d);
 WINE_DECLARE_DEBUG_CHANNEL(d3d_perf);
 
index 225723a..6eab4ae 100644 (file)
@@ -24,6 +24,8 @@
 
 #include "wined3d_private.h"
 
+#include <winreg.h>
+
 WINE_DEFAULT_DEBUG_CHANNEL(d3d);
 WINE_DECLARE_DEBUG_CHANNEL(winediag);
 
index d425a5e..17988f7 100644 (file)
 #ifndef __WINE_WINED3D_PRIVATE_H
 #define __WINE_WINED3D_PRIVATE_H
 
-#include <config.h>
+#include <wine/config.h>
 #include <wine/port.h>
 
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
 #ifdef USE_WIN32_OPENGL
 #define WINE_GLAPI __stdcall
 #else
 # include <float.h>
 #endif
 
-#include <stdarg.h>
 #include <stdio.h>
-#include <math.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
 #define NONAMELESSUNION
 #define NONAMELESSSTRUCT
 #define COBJMACROS
+
 #include <windef.h>
 #include <winbase.h>
-#include <winreg.h>
 #include <wingdi.h>
 #include <winuser.h>
-#include <wine/debug.h>
-#include <wine/unicode.h>
-
 #include <objbase.h>
-#include <wine/wined3d.h>
-#include "wined3d_gl.h"
+
+#include <wine/debug.h>
 #include <wine/list.h>
 #include <wine/rbtree.h>
+#include <wine/wined3d.h>
+#include "wined3d_gl.h"
 #include <wine/wgl_driver.h>
 
 /* Driver quirks */
@@ -3006,4 +3004,4 @@ static inline void context_apply_state(struct wined3d_context *context,
 
 #define MAKEDWORD_VERSION(maj, min) (((maj & 0xffff) << 16) | (min & 0xffff))
 
-#endif
+#endif /* __WINE_WINED3D_PRIVATE_H */