Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d476313a
Commit
d476313a
authored
May 20, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
May 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
direct3d: Remove misspelled constants as they exist correctly spelled.
parent
820d9540
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
12 deletions
+2
-12
visual.c
dlls/d3d8/tests/visual.c
+1
-1
visual.c
dlls/d3d9/tests/visual.c
+1
-1
d3d8types.h
include/d3d8types.h
+0
-5
d3d9types.h
include/d3d9types.h
+0
-5
No files found.
dlls/d3d8/tests/visual.c
View file @
d476313a
...
...
@@ -202,7 +202,7 @@ static void lighting_test(IDirect3DDevice8 *device)
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice8_SetRenderState returned %s
\n
"
,
DXGetErrorString8
(
hr
));
hr
=
IDirect3DDevice8_SetRenderState
(
device
,
D3DRS_CULLMODE
,
D3DCULL_NONE
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice8_SetRenderState failed with %s
\n
"
,
DXGetErrorString8
(
hr
));
hr
=
IDirect3DDevice8_SetRenderState
(
device
,
D3DRS_COLORWRITEENABLE
,
D3DCOLORWRITEENABLE
D_RED
|
D3DCOLORWRITEENABLED_GREEN
|
D3DCOLORWRITEENABLED
_BLUE
);
hr
=
IDirect3DDevice8_SetRenderState
(
device
,
D3DRS_COLORWRITEENABLE
,
D3DCOLORWRITEENABLE
_RED
|
D3DCOLORWRITEENABLE_GREEN
|
D3DCOLORWRITEENABLE
_BLUE
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice8_SetRenderState failed with %s
\n
"
,
DXGetErrorString8
(
hr
));
hr
=
IDirect3DDevice8_SetVertexShader
(
device
,
fvf
);
...
...
dlls/d3d9/tests/visual.c
View file @
d476313a
...
...
@@ -204,7 +204,7 @@ static void lighting_test(IDirect3DDevice9 *device)
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_SetRenderState returned %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_SetRenderState
(
device
,
D3DRS_CULLMODE
,
D3DCULL_NONE
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_SetRenderState failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_SetRenderState
(
device
,
D3DRS_COLORWRITEENABLE
,
D3DCOLORWRITEENABLE
D_RED
|
D3DCOLORWRITEENABLED_GREEN
|
D3DCOLORWRITEENABLED
_BLUE
);
hr
=
IDirect3DDevice9_SetRenderState
(
device
,
D3DRS_COLORWRITEENABLE
,
D3DCOLORWRITEENABLE
_RED
|
D3DCOLORWRITEENABLE_GREEN
|
D3DCOLORWRITEENABLE
_BLUE
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_SetRenderState failed with %s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_SetFVF
(
device
,
fvf
);
...
...
include/d3d8types.h
View file @
d476313a
...
...
@@ -40,11 +40,6 @@
#define D3DCOLOR_RGBA(r,g,b,a) D3DCOLOR_ARGB(a,r,g,b)
#define D3DCOLOR_XRGB(r,g,b) D3DCOLOR_ARGB(0xff,r,g,b)
#define D3DCOLORWRITEENABLED_RED 1
#define D3DCOLORWRITEENABLED_GREEN 2
#define D3DCOLORWRITEENABLED_BLUE 4
#define D3DCOLORWRITEENABLED_ALPHA 8
#define D3DCS_LEFT 0x001
#define D3DCS_RIGHT 0x002
#define D3DCS_TOP 0x004
...
...
include/d3d9types.h
View file @
d476313a
...
...
@@ -42,11 +42,6 @@
#define D3DCOLOR_XYUV(y,u,v) D3DCOLOR_ARGB(0xFF,y,u,v)
#define D3DCOLOR_AYUV(a,y,u,v) D3DCOLOR_ARGB(a,y,u,v)
#define D3DCOLORWRITEENABLED_RED 1
#define D3DCOLORWRITEENABLED_GREEN 2
#define D3DCOLORWRITEENABLED_BLUE 4
#define D3DCOLORWRITEENABLED_ALPHA 8
#define D3DCS_LEFT 0x001L
#define D3DCS_RIGHT 0x002L
#define D3DCS_TOP 0x004L
...
...
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