Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
41556170
Commit
41556170
authored
Feb 27, 2015
by
Matteo Bruni
Committed by
Alexandre Julliard
Mar 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Pack structures to 4-bytes alignment on x86.
Reported by Christoph von Wittich.
parent
db80aba5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
d3d9caps.h
include/d3d9caps.h
+8
-0
d3d9types.h
include/d3d9types.h
+8
-0
No files found.
include/d3d9caps.h
View file @
41556170
...
@@ -20,6 +20,10 @@
...
@@ -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 {
...
@@ -392,4 +396,8 @@ typedef struct _D3DCAPS9 {
}
D3DCAPS9
;
}
D3DCAPS9
;
#ifdef __i386__
#include <poppack.h>
#endif
#endif
#endif
include/d3d9types.h
View file @
41556170
...
@@ -21,6 +21,10 @@
...
@@ -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
...
@@ -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 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment