[WINED3D]

* 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
This commit is contained in:
Amine Khaldi 2014-01-20 12:57:33 +00:00
parent ba47e91e6f
commit 19f2e50258
3 changed files with 16 additions and 14 deletions

View file

@ -23,6 +23,8 @@
#include "wined3d_private.h"
#include <wine/unicode.h>
WINE_DEFAULT_DEBUG_CHANNEL(d3d);
WINE_DECLARE_DEBUG_CHANNEL(d3d_perf);

View file

@ -24,6 +24,8 @@
#include "wined3d_private.h"
#include <winreg.h>
WINE_DEFAULT_DEBUG_CHANNEL(d3d);
WINE_DECLARE_DEBUG_CHANNEL(winediag);

View file

@ -25,13 +25,9 @@
#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
@ -42,25 +38,27 @@
# 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 */