d3d9: Pack structures to 4-bytes alignment on x86.
Reported by Christoph von Wittich.
This commit is contained in:
parent
db80aba5ad
commit
41556170f2
|
@ -20,6 +20,10 @@
|
||||||
#ifndef __WINE_D3D9CAPS_H
|
#ifndef __WINE_D3D9CAPS_H
|
||||||
#define __WINE_D3D9CAPS_H
|
#define __WINE_D3D9CAPS_H
|
||||||
|
|
||||||
|
#ifdef __i386__
|
||||||
|
#include <pshpack4.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Definitions
|
* Definitions
|
||||||
*/
|
*/
|
||||||
|
@ -392,4 +396,8 @@ typedef struct _D3DCAPS9 {
|
||||||
|
|
||||||
} D3DCAPS9;
|
} D3DCAPS9;
|
||||||
|
|
||||||
|
#ifdef __i386__
|
||||||
|
#include <poppack.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
#ifndef __WINE_D3D9TYPES_H
|
#ifndef __WINE_D3D9TYPES_H
|
||||||
#define __WINE_D3D9TYPES_H
|
#define __WINE_D3D9TYPES_H
|
||||||
|
|
||||||
|
#ifdef __i386__
|
||||||
|
#include <pshpack4.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Direct 3D v9 #defines
|
* Direct 3D v9 #defines
|
||||||
*/
|
*/
|
||||||
|
@ -1580,4 +1584,8 @@ typedef enum _D3DSHADER_COMPARISON
|
||||||
D3DSPC_RESERVED1,
|
D3DSPC_RESERVED1,
|
||||||
} D3DSHADER_COMPARISON;
|
} D3DSHADER_COMPARISON;
|
||||||
|
|
||||||
|
#ifdef __i386__
|
||||||
|
#include <poppack.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __WINE_D3D9TYPES_H */
|
#endif /* __WINE_D3D9TYPES_H */
|
||||||
|
|
Loading…
Reference in New Issue