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
12f40e93
Commit
12f40e93
authored
Sep 20, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Fixed D3DMULTISAMPLE_FORCE_DWORD value and added MAKEFOURCC definition guard.
parent
602486bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
d3d8types.h
include/d3d8types.h
+3
-3
d3d9types.h
include/d3d9types.h
+3
-1
No files found.
include/d3d8types.h
View file @
12f40e93
...
...
@@ -148,11 +148,11 @@
#define D3DCOLORWRITEENABLE_ALPHA (1L<<3)
#ifndef MAKEFOURCC
#define MAKEFOURCC(ch0, ch1, ch2, ch3) \
((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
#endif
/****************************
* Vertex Shaders Declaration
...
...
@@ -683,7 +683,7 @@ typedef enum _D3DMULTISAMPLE_TYPE {
D3DMULTISAMPLE_15_SAMPLES
=
15
,
D3DMULTISAMPLE_16_SAMPLES
=
16
,
D3DMULTISAMPLE_FORCE_DWORD
=
0x
f
fffffff
D3DMULTISAMPLE_FORCE_DWORD
=
0x
7
fffffff
}
D3DMULTISAMPLE_TYPE
;
typedef
enum
_D3DORDERTYPE
{
...
...
include/d3d9types.h
View file @
12f40e93
...
...
@@ -191,9 +191,11 @@
#define D3DVERTEXTEXTURESAMPLER2 (D3DDMAPSAMPLER+3)
#define D3DVERTEXTEXTURESAMPLER3 (D3DDMAPSAMPLER+4)
#ifndef MAKEFOURCC
#define MAKEFOURCC(ch0, ch1, ch2, ch3) \
((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
#endif
/* Constants used by D3DPRESENT_PARAMETERS. when creating a device or swapchain */
...
...
@@ -867,7 +869,7 @@ typedef enum _D3DMULTISAMPLE_TYPE {
D3DMULTISAMPLE_15_SAMPLES
=
15
,
D3DMULTISAMPLE_16_SAMPLES
=
16
,
D3DMULTISAMPLE_FORCE_DWORD
=
0x
f
fffffff
D3DMULTISAMPLE_FORCE_DWORD
=
0x
7
fffffff
}
D3DMULTISAMPLE_TYPE
;
#if 0
...
...
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